On Dec 19, 2008, at 11:44 PM, solarwind wrote: > I've been pulling my hair out trying to figure out why my code isn't > working. > > http://pastebin.com/ff66d8df Where's the code to turn off the analog functions on portc, so they can be used as digital IO, as clearly explained on page 76 of the datasheet? BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist