On Tue, 2015-10-20 at 10:10 -0700, jim@jpes.com wrote: > 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 > resets itself. > Just a thought. You know, Jim has exactly the right thing here. Presumably you are using MPLAB-X and presumably you have a PICkit 3 or ICD 3 to do your programming. SO, put a breakpoint at the PORTA =3D 0, click the debug icon, and then single step, checking the pins with a meter each step. You might also put a weak pullup, say 10K, on RA0 and RD0. If the pin stays high then perhaps it hasn't been set to be an output for some reason. --McD >=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." > >=20 > >=20 > > Hello all, > > I have the LCD working. Well kind of any way. I didn't do it with= =20 > > the 877. I used a 18F4550 which is pin compatible with the 16F877 and i= t=20 > > works. At least the display resets and I have a cursor on the screen.=20 > > Also for the one or two seconds that it takes for the program to run I= =20 > > get a display on the scope. Yeah! But why not the 877?? Hum! I don't=20 > > know. It took me almost 12 hours to get here. I appreciate everybody's= =20 > > help and I don't know how to explain this. > > Thanks, > > rich! > >=20 > > 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. > > >> > > --=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 --=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 .