On Wed, Apr 14, 2010 at 12:39 PM, James Newton wrote: > Now I'm going to look for some good snippets of C code to add along side the > description. Might not fit your definition of good, but you are free to publish as public domain the LCD code I put online awhile ago: http://ubasics.com/adam/electronics/lcd/cc5xlcd.c It compiles as-is under CC5X (Which has a free version: http://www.bknd.com/cc5x/download.shtml unlimited code size, no optimizations, etc), but most of the code is generic enough that it should work well in any C compiler (I've used it in several others, just changing references to I/O functions). It's reasonably well commented (though I still haven't filled in a few ??? I left in the code for some reason), and I haven't yet met a 44780 it didn't drive. Hope this helps. -- http://chiphacker.com/ - EE Q&A site -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist