The story is this lcd wont stay in data mode. The RS line keeps going low as soon as the enable line is strobed. Im using a pic 16f628.
heres the code from the main proc.:
Does anyone have any suggestions?
heres the code from the main proc.:
Code:
CALL INIT ;PERFORM INITILISATION
BSF LCD_CTRL,RS ;SET RS LINE HIGH
CALL DELAY40 ;DELAY 40uS
MOVLW 0X41
MOVWF LCD_DATA ;MOVE 41H ONTO DATA LINES
CALL DELAY40 ;DELAY 40uS
BSF PORTA,2 ;SET ENABLE LINE HIGH
CALL DELAY40 ;DELAY 40uS
BCF PORTA,2 ;SET ENABLE LINE LOW
CALL DELAY40 ;DELAY 40US
SLEEP
Does anyone have any suggestions?