PIC16F877A LCD Code This post provides the code to make an 16*2 LCD Interfacing with PIC16F877A microcontroller. This code is written in C language using MPLAB X IDE with XC8 compiler. LCD pin descriptions: The LCD discussed in this section has 16 pins, The function of each is described below. VCC VSS and VEE : While Vcc and Vss provide +5 volts and ground, respectively Vee is used for controlling the LCD contrast. RS, Register select : There are two Important register inside the LCD The RS pin is used for selection of the registers If RS=0, Instruction Command register is selected, allowing the user to send command to LCD IF RS=1, Data register is selected, allowing the user to send data to LCD R/W, read/write : R/W input allows the user to write information to the LCD or read the information from the LCD. R/W = 1 when reading R/W =0 when writing E, Enable : The Enable pin is used by the LCD ...