I have written some code which works but the 2nd line of the display does not work. I have made sure ive set the lcd to be in 2line mode and set the correct 5x8 font but i just cant get any text come up. However i can get the cursor to flash on that line.
heres my setup routine:
im totally stuck here.
heres my setup routine:
Code:
INIT
CLRF LCD_CTRL
CALL DELAYSTART ;delay 30ms
MOVLW 0X38 ;set disp as 2line 5x8 font
MOVWF LCD_DATA
CALL ENABLE
CALL DELAY40 ;delay 45us
MOVLW 0X0F ;set disp on with blinking cursor
MOVWF LCD_DATA
CALL ENABLE
CALL DELAY40 ;40us delay
CALL CLRDISP ;clear disp
RETURN
im totally stuck here.