On 28/05/2011 22:47, cdb wrote: > The only book I can think of that has some Microchip and Hitech 'C' code = in > it is John Peatman's Pic 18F452 book, and even then it is an add on at th= e > end of the book. Code is available for download from his website > (www.picbook.com). > I can't think of any that only deal with C18, but there are a few books=20 that deal with PICs and C in general. Here are a few I can remember: Advanced PIC Microcontroller - Projects in C From USB to RTOS with the=20 PIC18F Series (mainly MikroC) Programming 8-bit PIC Microcontrollers in C (mainly CCS) Microprocessors From Assembly Language to C Using the PIC18Fxx2 (pretty=20 good and thorough book - Assembly and HI-Tech C) I wouldn't worry too much about it being specifically C18; one as MC are=20 favouring HI-Tech now anyway and the future of C18 is uncertain, and two=20 as C is C, and it's more important to learn the tricks of applying it to=20 an (often severely memory limited) embedded situation. The manual will give you the details on any C!8 specifics you need=20 anyway, any deviations from/additions to the standard. I got by for ages=20 with the K&R book and the manual for whatever compiler I was using, but=20 I understand it's nice to have some examples, which the above books do=20 contain. I would be wary of using the Microchip code in app notes for learning;=20 much of it is just basic functional examples to get you started, rather=20 than advice on how you should write the code. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .