:: oes anyone have any PIC18F code at all? I don't care if it's MPASM, :: HITECH C 18 or Microchip C for PIC18. Surely there is tons of code all over the place - there is complete code for things like power meters on the Microchip site, there is code on www.picbook.com, do an Amazon or search at Prentice Hall or Newnes for books on the 18F - as the books come with a CD with the cod eon them you will find that most have websiteswhere even more code can be downloaded. Code (in C) is not that different to code for the 16F series, main things are priority interrupts and depending on the compiler you may need to use LAT rather than PORT. Obviously there are some other differences but if using 'C' many of them should be hidden from you - asm is a different matter though. Colin -- cdb, colin@btech-online.co.uk on 8/01/2009 Web presence: www.btech-online.co.uk Hosted by: www.1and1.co.uk/?k_id=7988359 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist