I have serious doubts the program is even running on the 16F877a. My suspic= ion is (as I have earlier stated) that not all the setup (including config = register) has been done properly. Another possibility is that he has tried = to program it as a 16F877 instead of a 16F877a, and they have different pro= gramming algorithms. If I am wrong in my above conclusions, then I suspect that it really is a R= MW issue with the port, which the compiler masks on the 18F device because = that has LAT registers that it will use when trying to bit twiddle the RA b= its, where on the 16F it is working on the port bits themselves. >=20 > Have you tried just stopping the program after it runs one time instead = of > looping back to ".INIT" > It may be running so fast you can't see what is displayed before it rese= ts > itself. > Just a thought. >=20 > Regards, >=20 > Jim >=20 > > -------- Original Message -------- > > Subject: Re: SV: SV: SV: SV: [PIC]: Trying to get a 16F877A to talk to > > an LCD! > > From: "Richard R. Pope" > > Date: Tue, October 20, 2015 11:46 am > > To: "Microcontroller discussion list - Public." > > > > > > Hello all, > > I have the LCD working. Well kind of any way. I didn't do it with > > the 877. I used a 18F4550 which is pin compatible with the 16F877 and > > it works. At least the display resets and I have a cursor on the screen= .. > > Also for the one or two seconds that it takes for the program to run I > > get a display on the scope. Yeah! But why not the 877?? Hum! I don't > > know. It took me almost 12 hours to get here. I appreciate everybody's > > help and I don't know how to explain this. > > Thanks, > > rich! > > > > On 10/20/2015 10:59 AM, Allen Mulvey wrote: > > > I haven't been following this too closely but I don't see > > > ADCON0 set in there. > > > > > > This is what I use: > > > ADCON0 =3D 0; // adc off > > > ADCON1 =3D 7; // all > > > digital > > > CMCON =3D 7; // > > > Comparators off > > > > > > Allen > > > > > >> -----Original Message----- > > >> From: piclist-bounces@mit.edu [mailto:piclist- bounces@mit.edu] On > > >> Behalf Of Richard R. Pope > > >> Sent: Tuesday, October 20, 2015 11:45 AM > > >> To: Microcontroller discussion list - Public. > > >> > > -- > > 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 --=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 .