Hi, You could use the demo of CCS, www.ccsinfo.com the help file, the examples, and use the board in CCS site. http://ccsinfo.com/wwwboard/ I had the same problem and started with a book: PIC C from Nigel Gardner www.bluebird-electronics.co.uk and very good tutorials in general C you can find in web, like: http://www.strath.ac.uk/CC/Courses/NewCcourse/ccourse.html best regards Fernando >> Can someone please direct me to some examples of C code for the PIC? >> Or better yet, a "How to program microcontrollers in C" book would be >> great. >> >> I've been dinking around with MPASM for a while now and am pretty new to >> C programming. I'm having trouble figuring out how to map the >> abstraction of a high level language to the specific microprocessor at >> hand. > > >A good introductory guide is downloadable from >http://www.fored.co.uk/Download/LearnC.zip . >Although it is designed to be used with their C compiler the information in >there is >generaly applicable too. It has the advantage of not being written with the >assumption that you want your programs to run on a PC, which is the problem >with most C books IME. This is PIC specific. > > >Hope this helps. I'd be interested to hear of any other tutorials or books >you find that are relevant to C on PICs as I'm just starting out down that >road and not finding it easy. I still half suspect that C is some kind of >complicated hoax really. > > >Cheers, > >Andy. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu