Program that will blink as led, Computer Engineering

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 using the duty cycle you found from your UTCID.

For example, 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, as determined from the tutorial exercise

  • Soft copy, emailed to instructor, of your code
  • Due Tuesday, 10/2 - hard copy at start of class

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 example.
  1. Example program for demonstrating header section, does nothing
  2. Targets MSP430G2231 on LaunchPad board
  3. Stephen Craven, ENEE 4700, 9/23/2010
  4. Program does what?
  5. Input is ... Output is... BE SPECIFIC. Include enough info for
  6. someone to configure and use your program.
Posted Date: 3/4/2013 8:07:38 AM | Location : United States







Related Discussions:- Program that will blink as led, Assignment Help, Ask Question on Program that will blink as led, Get Answer, Expert's Help, Program that will blink as led Discussions

Write discussion on Program that will blink as led
Your posts are moderated
Related Questions
A model for parallel programming is an abstraction and is machine architecture independent. A model can be executed on several hardware and memory architectures. There are various

Explain Folded network. Folded network: While all the inlets/outlets are connected to the subscriber lines, the logical connection shows as demonstrated in figure. When, the

Explain the CCITT hierarchical structure of switching using block schematic. Hierarchical network are able of handing heavy traffic where needed, and at similar time use mini

What is meant by scan code?  When a key is pressed on the keyboard, the keyboard controller places a code take to the key pressed into a part of the memory known as the keyboar

Illustrate the Logical view of a system The Logical view of a system serves to describe existence and meaning of key abstractions and mechanism which form problem space, or wh

What do you mean by best fit?  Best fit allocates the smallest hole that is big enough. The whole list has to be searched, unless it is sorted by size. This method makes the sm

1)   Discuss various types of persuasive communication you might be needed to write or present in your professional and personal life. 2)    Describe two ways to organize a resume

How can I open an MS Access database that has been converted to a current version? Ans) MS Access is not backwards compatible. A workaround to share tables among different versi

consider the 8 bit floating point format including support for normalised nimbers and nonnumeric values.it included 3 bits for mantissa and 4 bitys for excess 7 exponent

What are the languages evolved in the html open standard Even the companies or developers themselves have been affected with such modifications to the open standards since they