PIC programming C language (using MPLAB IDE v8.88)
November 26, 2012
So I've made a topic in the MPLAB section, but no one seemed to answer, so I thought, maybe it belongs in here, since I'm pretty newb at the moment.
I bought a PCKit2 and looked at the 12 examples, they're pretty neat. But I would like to learn to program the PIC's in C-language.
I have found a guide on the MPLAB CD-ROM that came with this PICKit2, but it doesn't seem to work.
Then I've tried a tutorial on the internet, and here's what that gave me:
I've just made a source file with just a small main like this (using a PIC16F690):
and it gives a building error because it can't find the file to include (p16F690.h), and I can't seem to find the include directory anywhere either. (using MPLAB v8.88)
Here's the link of the tutorial btw: http://www.pic18f.com/18f4550-c-tutorial/2009/11/16/tutorial-4-hello-world-program-in-c/
Does anyone have experience with this? Or knows where to find a better toturial? I found another C tutorial, but it will cost me $85. Anyone got something else? :)
Thanks in advance!