Joep, This program is so short the there is no real way to check the=20 pins. Yes, the signal moves on my scope on each of the individual pins=20 but since the program takes less than one second to run there is no wave=20 form on the scope except for the clock pins which show a nice sine wave.=20 The wake up delays are around 300 mS and the other delays are about 20=20 mS. I am very frustrated at this point. Please help? Thanks, rich! On 10/20/2015 4:22 AM, Joep Suijs wrote: > Hi Richard, > > I'm sure you've checked all the outputs are working and properly > connected. I usually set a square wave on each pin, one at the time, and > check the display and of the signal. > Could this be a timing issue? Leave a significant delay (100ms+) at start= up > and some delay (20ms extra or so) after each command issued to the displa= y. > > Good luck, > Joep > > 2015-10-20 10:08 GMT+02:00 Ray Haddad : > >> On 20 Oct 2015 at 2:43, Richard R. Pope wrote: >>> Hello all, >>> I am trying to get a 16f877a to talk to a >>> NHD-0216BZ-FL-YBW lcd. >>> PortD is connected to the data lines and RA0, RA1, and RA2 are the >>> control lines. They are R/S, R/W, and EN in that order. I have >>> checked >>> power, ground, and the clock. These are all ok. I also checked the >>> frequency and it is 7.99997 MHz with a 8.0 MHz crystal. The LCD is >>> not >>> initializing. It never goes in to 2 line mode. There is also no >>> cursor. >>> I am using MpLabX and the XC8 compiler. I am using a PICKit2 for my >>> programmer. I have spent several hours trying to sort this out and I >>> am >>> stumped. Could I please get some help? Should I post the source code >>> here? >>> Thanks, >>> Richard R. Pope >>> President >>> Reedsburg Area Model Railroad Club, RAMRC >>> 1230 19th Street #5 >>> Reedsburg, WI 53959 >>> 608-768-7448 >>> mechanic_2@charter.net >>> -- >>> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive >>> View/change your membership options at >>> http://mailman.mit.edu/mailman/listinfo/piclist >> --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .