Quote:
Originally posted by Raven_Writer
I think we've all forgotten about this point (including me). Dev-C++ won't help us when we need to program the robot, LCC won't help us if we need to fix a programming error in 5 mins. flat.
The only compiler AFAIK that I know of that will help is the one that Microchip has. Others will just through out an error, due to the fact that the keywords are different (in C18, you don't have void main(...){ ... }, you have [some new type] main(...){...})
If you look at the docs, I think that a starting program is given.
|
I think the starter of this thread was wanting to learn general C first, then learn PIC-C. These suggestions would work fine for that...
The keywords aren't different...they're the same. It's the majority of the same language as C, but you just don't have a lot of the libs. There's a different between keywords and library functions.
Oh and on a side note: The main function on an 18F8520 isn't 'main'...it's 'entry'.
