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
Q. What do you mean by Video Memory ? As declared before video memory is also entitled framebuffer since it buffers video frames to be displayed. The quality of a video display

plz expalain interfacing of 8259 with 8085 step wise

Features of MPI-1 Binding for FORTRAN and C Collective communication Communication domains and Process groups Point-to-point communication Virtual process

Representation scheme in artificial intelligence: It is not hard to see why logic has been popular representation scheme inĀ AI: In this way, It is easy to represent knowl

Q. Show Synchronous mode for point-to-point message passing? Synchronous mode: Transmitting can be started whether or not matching receive has been started, but transmitting w

Q. General use of cluster computing? A general use of cluster computing is to balance traffic load on high-traffic web sites. In web operation a web page request is transmitted

What are different control function categories. Explain. In several switching systems, the control subsystem may be an integral part of the switching network itself. This syst

Determine the negation of the statement? "2 is even and -3 is negative"? Answer: 2 is odd or -3 is not negative.

Using a suitable logic diagram explain the working of a 1-to-16 de multiplexer. Ans. 1-to-16 Demultiplexer Working: A demultiplexer obtains in data from one line and directs this

What are the main characteristics of a pipeline? Ans: The main characteristics of a pipeline are: a) The speedup or efficiency gain by suing a pipeline depends on the numbe