I think most of us would prefer helping you getting started, instead
of providing finished code.
As a community we don't want you to just copy&paste our code, we want
to help you learning to understand microcontrollers.
Some tutorials, you might have a look at:
- Using buttons to let LEDs blink:
--> basic: http://mspsci.blogspot.com/2010/07/tutorial-07-pushing-buttons.html
--> using interrupts:
- Setting up peripherals:
If you wan't to reuse the Reset-Pin, you should have a look at the
PxSEL register in the user manual for a general explanation:
And then at the datasheet of you specific chip, if you wan't to know
what the different PxSEL flags mean for the different inputs.
Yeah you have to learn a lot at the beginning, but on the other hand,
what is it worth to rely on other's people code, you can copy&paste?
Thanks for attempting this challange! I will go over it and see what I can understand.
| .''`. == Debian GNU/Linux ==.| http://kevix.myopenid.com......|
| : :' : The Universal OS....| mysite.verizon.net/kevin.mark/.|
| `. `' http://www.debian.org/.| http://counter.li.org [#238656]|