On Thu, Jan 8, 2009 at 7:31 PM, solarwind wrote: > I decided to dive into PIC 18 F chips and made a test application > after doing some research on the internet and on the datasheet. I was > still unable to get this very simple program working: > > http://pastebin.com/f74456e30 > > If anyone can please help with this, I would really appreciate it. Thanks! > > You don't need to write to PORTC AND LATB. Only LATB should be written to, while PORTC should be used for reading. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist