Blinky lights ii-the hard way


Blinky Lights II: The Hard Way
 
Take the last two digits of your UTCID. This is your duty cycle in percent. If your duty cycle is less than 10%, add 30 to your number.
 
Create an assembly program that runs on the MSP430 that will blink as LED at a rate of exactly 1 Hz by using the duty cycle you found from your UTCID. 
 
For illustration: if your UTCID was ABC123, your duty cycle would be 23%. Your LED should then be ON for 0.23 seconds and OFF for 0.77 seconds, so that the combined cycle time is exactly 1.00 seconds.
 
Deliverables:

•  A flowchart of your program.

•  Commented source code, see below.

•  Analysis proving that your code blinks the LEDs at the specified rates. This must involve a calculation including instruction cycle counts and your board’s clock frequency.

Comments:

• Comment your code at a level of detail enough for someone to follow it. More detail than that is not helpful.

• Include several comments lines at the very top of your program that describes the program, what it does, who wrote it, when it was written, what hardware it requires, and what inputs/outputs it uses. This is called a header. See below for an illustration.
 
; Example program for demonstrating header section, does nothing
; Targets MSP430G2231 on LaunchPad board
; Stephen Craven, ENEE 4700, 9/23/2010
; Program does what?
; Input is ... Output is... BE SPECIFIC. Include enough info for
; someone to configure and use your program.

Request for Solution File

Ask an Expert for Answer!!
Assembly Language: Blinky lights ii-the hard way
Reference No:- TGS01345

Expected delivery within 24 Hours