HOME SYLLABUS HOMEWORK LABS LINKS NOTES
|
The goal of this assignment is to gain more experience programming MSP430 functionality in C-language, and practice using the integrated debugger in the CCS IDE.
Keypad & Represent with LEDsConnect keypad to Port 1. Each time a key is pressed, the program has to recognize which key was pressed and represent its value in binary through Port 2 LEDs. The keypad needs to be decoded by scanning the four rows (or equivalently each of the four columns) looking for a button that is pressed (low signal). Your program only needs to behave properly when a single button is pushed. For details of keypad decoding, see the note slides. Make sure that for keys: A - D => Display correct binary representations See how it works
Keypad/LEDs Circuit
Keypad Types & PinoutSubmission:1 - Have the lab checked out by Matt, Clint or Damian by showing your code, flashing your code to the board, and display working circuit. 2 - Print your final code with the following header: /*************************************************** 3 - Make sure you have a well commented code
Copyright © 2011 by Keith Vertanen. |
Montana Tech --
College of Letters, Science &
Professional Studies -- Computer Science
Department
All Rights Reserved and Copyright
© 2013 by Damian Valles