Re: For EEPROM programming how PIC16F877A is connected
I do not understand what you are asking - do you want to program an external EEPROM, or the internal one? This code is for the internal EEPROM. What do you want to know how to connect?
P.s. please use CODE tags when posting code. That is the '#' symbol on the message toolbar.
The connections are in the code, assuming you are using an HD44780 compatible LCD. Lines 2 to 7 in the code, with the LCD being connected to the pins on port B as listed.
Note also that since the LCD RW pin is not defined, that pin on the LCD (pin 5) should be connected to ground to fix the LCD in write mode.
Pin 3 on the LCD (the contrast pin) is connected to the wiper of a 10k or higher potentiometer/preset, with the ends of the potentiometer connected between ground and +5V. That potentiometer is adjusted to get a display on the LCD.
but sir, why does lcd has not displayed it. i have connected it as per the references of microc. but the problem is i am unable to solve it before three days. where is the problem. I have connected AN2 as input by a potentio