Aww heck. May as well throw in my novice mistake. The only thing in my favour is that I am a novice... ! Took a few days getting my home-rolled C18 Code to work for driving an HD44780 based LCD Module (remember that Contrast thread a short while back...). Anyways, I got it all working, then decided to "neaten" it up a bit. I changed the Crystal as well (from a 4MHz to 4.194304Mhz + PLL). One of the neatinging things I did was to migrate from using PORTD to LATD for the LCD pins. Well, everything LCD stopped working even though it all looked good still in the Simulator. Just could not figure it out even though my flashing LED was flashing. Took me a day to realize that using LATD for the setting LCD data lines was fine, just so long as you then use PORTD to read the busy flag! It so happened that because most (all) of my LCD code was writing the low 128 characters, that LATDbits.LATD7 was always "not busy"... even though PORTDbits.RD7 was, so my init routine was way messed up... Rolf Wouter van Ooijen wrote: >> Or were you specifically interested in electrical mistakes? :) >> > > I prefer bug-finding mistakes, but of course one sometimes has to debug > his own mindset. > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > docent Hogeschool van Utrecht: www.voti.nl/hvu > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist