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
The next important effort in the direction of devising an electromechanical computer was made at Harvard University mutually sponsored by IBM and Department of UN Navy, Howard Aike

A device that forwards data packet from one network to another is known as a  Switch device.

Q. Characteristics of extreme unencoded micro-instructions? 1. Two sources can be attached by respective control signals to a single destination; though only one of these sourc

Put an "X" next to any of the following that are RISC CPU characteristics that show diffrence between RISC from CISC a) has limited addressing modes b) used in Motorola 6000 pro

program in c for scanline seed fill

Distinguish between ROM, PROM, EPROM, EEPROM. Ans: ROM: It also called Read Only Memory is a Permanent Memory. The data is permanently stored and cannot be changed in Perm

what is ment by avl tree n insertion n deletion ,2-3 tress insertion n deletion

Explain the relationship amongst Translated address and Linked address. Translated address: Address assigned through the translator Linked address: Address assigned

There are two methods for organising the associative memory based on bit slices: Bit parallel organisation: In this organisation every bit slices which are not masked off,

Mr. X seems to view himself in positive terms (MMPI-2: Ho=38) as a well-functioning person who is capable of dealing with his life and personal challenges (MMPI-2: LSE=41, TRT=39),