Richard, you forget to say which are the pin used! (This is VERY important for us to= help you) In this case, for the initialization, I read the table 2.1 at page 19 (DS39= 582B) "Special function register summary" where you find the power on state of ea= ch register. >From the table you see that the CMCON register value if 0x07 -> OFF but you wrote 0x00 -> Reset -> uses RA0 to RA3 as input! Paragraph 12.1 Comparator configuration. N On 20/10/2015 11:36, Richard R. Pope wrote: > Issac, > The problem is going to be in the configuration of the 16f877a.=20 > There is no activity on the en or the r/s pins. Argh! I thought that=20 > this might be the problem. The clock is running. I have every reason to=20 > believe that the pins are not set for digital I/O. Here is the setup=20 > statements: > TRISD =3D 0; > TRISA =3D 0; > ADCON0 =3D 0; > ADCON1 =3D 0; > CMCON =3D 0; > Any more thoughts on this? > Thanks, > rich! > > On 10/20/2015 6:04 AM, Isaac Marino Bavaresco wrote: >> Richard, >> >> >> You could create an infinite loop sending just one and the same command >> to the LCD, then your scope would synch with, say, the ENABLE signal and >> keep the image steady. >> >> >> Isaac >> >> >> Em 20/10/2015 07:31, Richard R. Pope escreveu: --=20 *Nicola Perotto Sistemi Informatici ed Elettronici skype: nicolap mob: +39 335 7162 582 tel: +39 06 916 502 732 fax: +39 0439 633 1191* --=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 .