Instructors |
Omprakash Gnawali, Larry Shi, and Nikolaos V. Tsekos. |
Homework - 1Due: September 18, 2012
TI LaunchPadIn this assignment, we will learn how to use TI LaunchPad to build a simple application.Part 1Install and run development tools. Run LaunchPad and Capacitive BoosterPack "hello world". Once you are up and working with LaunchPad, we want you to write a simple "application". Program your LaunchPad so it displays red and green LED blinking one after another in this pattern: green on - green off - red on - red off - green on - green off - ... etc. Your program should also accept input from the push button on the board. If you press the button, the LEDs should blink faster. If you press the button a number of times, the LEDs will blink faster and faster and evently it will switch to the original frequency, thus cycling between a number of frequencies.Extra credit: Use the capacitive touch boosterpack to control the rate at which the LEDs blink.
Part 2Hook up a temperature sensor and a fan to the TI platform so that the unit will turn the fan on when the temperature exceeds a threshold in its attempt to control the temperature in the environment.Resources
SubmissionYou will need to setup your LaunchPad, laptop, and hardware kit for the TA to evaluate your HW. |