Richard, In this PIC for the analog inputs to be off, you must write 0x06 or 0x07 to ADCON1, not 0x00. Cheers, Isaac Em 20/10/2015 10:15, Richard R. Pope escreveu: > Issac, > Nicola pointed this out and I changed CMCON from 0 to 7. There is=20 > still no activity on the en or r/s pins. Any more thoughts. > Thanks, > rich! > > On 10/20/2015 7:05 AM, Isaac Marino Bavaresco wrote: >> Richard, >> >> >> Did you turn off the analog comparators? >> If not, do that with CMCON =3D 7; >> >> If the comparators are not disabled, RA0 through RA3 become analog and >> they are read always as '0'. >> That would create RMW problem if you change each bit individually, >> because this PIC doesn't have LAT register. >> >> >> Cheers, >> >> Isaac >> >> >> Em 20/10/2015 09:36, Richard R. Pope escreveu: >>> Issac, >>> The problem is going to be in the configuration of the 16f877a. >>> There is no activity on the en or the r/s pins. Argh! I thought that >>> this might be the problem. The clock is running. I have every reason to >>> believe that the pins are not set for digital I/O. Here is the setup >>> 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 comman= d >>>> to the LCD, then your scope would synch with, say, the ENABLE signal a= nd >>>> keep the image steady. >>>> >>>> >>>> Isaac >>>> >>>> >>>> Em 20/10/2015 07:31, Richard R. Pope escreveu: --=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 .