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
You can't plan only for the present phase of the project as your future activities are still coarse granular. To have good planning you require to have fine granularity w.r.t the t

Q. Characteristics of input- output channels? The I/O channel represents an extension of DMA concept. An I/O channel has ability to execute I/O instructions that gives complete

Illustrate about 8259 8259A adds 8 vectored priority encoded interrupts to the microprocessor. We can expand it to 64 interrupt requests by using one master 8259A and 8 slave

What is an advantage of executing a process in background? The most common reason to put a process in the background is to permit you to do something else interactively without

What are RDRAM? RDRAM are Rambus DRAM. Rambus needs specially designed memory chips. These chips use cell arrays based on the standard DRAM technology. Multiple banks of cell a

Q. Define Various classes of Interrupts? Figure below gives list of some common interrupts and events which causes occurrence of those interrupts. Figure: Various clas

Q. What is multi-threaded unix kernel? Multi-threaded UNIX kernel: We know threads are light-weight processors demanding minimal state information comprising the processor stat

Search mechanisms in Prolog: Here we can needs this simple Prolog program to describe how Prolog searches as:president(X) :- first_name(X, georgedubya), second_name(X, bush).

What is the difference between wire and reg? Net types: (wire,tri)Physical connection between structural elements. Value assigned by a continuous assignment or a gate output.

No C don't have circular shift operator. (Part of the reason why that is the sizes of C's types aren't precisely described----but a circular shift makes most sense when applied to