It "Appears" I've had some luck by inserting this code:
Code:
@ OutputPort LCD_Port_HNIB ; Set LCD bus to OUTPUT
LOW LCD_RS
HIGH LCD_E
Char = 3 : gosub LCDsendShortCOM : @ DelayUS 6000
gosub LCDsendShortCOM : @ DelayUS 1000
gosub LCDsendShortCOM : @ DelayUS 1000
Char = 2 : gosub LCDsendShortCOM : @ DelayUS 1000 ; Start 4-bit mode
Char = $28 : gosub LCDsendCOM ; Function Set, 4-bit, 2-line, 5x7
Char = $0C : gosub LCDsendCOM ; Display ON
Char = $01 : gosub LCDsendCOM ; Clear Screen
Char = $06 : gosub LCDsendCOM ; Entry Mode
LCD_Initialized = 1 ; LCD has been Initialized
after turning the transistor on.
This maybe just rubbish... I'll have to try to get the pic to turn the LCD off and back on again to be sure of anything.
Bookmarks