I recently purchased a launchpad 430 and have been attempting to learn c programming for the launchpad. I have made very little progress in 3 weeks working with it at least 8 hrs per day or more. I have been involved with electronics and electronic control systems for at least 30 years and have never seen anything so confusing. So I am giving up and asking for help. I have read 100’s of pages of reference material, some good and some worthless but not one example or document that really gets down to the nuts and bolts and explains why you do this or do that or what each piece of code means. Like what does "while 1" mean?
I have managed to work out some code that does parts of what I want to do but cannot figure out how to combine the code to get a complete working program. What I want to do is….
Turn on the red led at p1.0 and a buzzer at p1.6 if a analog input (the onboard temp sensor ) goes above a setpoint by a pre-defined differential (deadband). As long as the temp is above setpoint have the red led stay on but if a switch at p1.3 (the onboard switch) is pressed lock p1.4 in an off state and stay off until power is cycled to the launchpad.
I can do a little of each part but not the whole thing together. I have a programm that works the temp part and a program to do the switch but cannot figure out how to put them together I would greatly appreciate a steer in the right direction from some of you genius’s out there. In fact I am very willing to pay for some help and guidance in developing this project I have in mind. If you are interested let me know. And thanks in advance for any and all advice and help.