Embedded Programming using C++
Posted on 2003-03-16
I had been reading up on many books about robotics. Building the platform and other physical parts of the robot are not hard, but can be accomplished.
I have one huge problem, however. A robot cannot run without a brain, right? So that's where embedded micontrollers come into play. My problem is I don't know how to even start programming them. I don't want to waste huge amounts of money buying the BASIC program for PIC Microcontrollers or buy Parallax Stamps that also uses the BASIC programming. I have some background in C++. I am taking my 2nd semester in C++. I'm learning object orientated programming. I heard from someone that it'll help me with the embedded chip programming, but I'm not sure how it will help me.
Getting to my main question, how do I even start to program embedded microchips like the PIC16F84 or the PIC16F627? If you know how to program other microcontrollers, please answer as well. If there are books out there, can someone suggest one or more? I already have one called "Programming Robot Controllers", but all the programming is done in C. I'm learning C++ and the coding in C is a bit different.
If possible, can someone include a tutorial or instructions on how to start programming a microcontroller in C++? Or sample codes on how to program a microcontroller. Please explain the code, if possible. If there are any internet links that relate to my question feel free to post it here. If anyone has any experience with embedded chip programming, please help. For the person that has experience in embedded chip programming, and doesn't mind, can I have your email address, considering this won't be the only obstacle block in my way. Thank you.