list p=16f877 ; list directive to define processor
#include <p16f877.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_OFF & _BODEN_OFF & _PWRTE_ON & _LP_OSC & _WRT_ENABLE_OFF & _LVP_OFF & _DEBUG_OFF & _CPD_OFF
; '__CONFIG' directive is used to embed configuration data within .asm file.
; The labels following the directive are located in the respective .inc file.
; See respective data sheet for additional information on configur
Hi,
You require a 10K0 potentiometer, between +5V and 0V and the wiper of the pot connected to Vo of the LCD pcb. Adjusting the pot will set the 'contrast' of the LCD so that you can see the LCD characters.
At first, set the contrast so that you can just see the pixel blocks on the LCD.
Have a look where the +5V and 0V wires are connected to the LCD pcb, next them [on my lcd] is pin#3, which is Vo.