1 Attachment(s)
LCDout Command w/ LCD 4x40 display
Hi!
This lcd have 2 Enable lines (e1,e2), anyone know, how these lines to be handled by the pbp compiler?
I buil this circuits but doesn't work ...
Can helpme please? thanks ..... Friends
code) look like this:
DEFINE OSC 10
DEFINE LCD_DREG PORTB
DEFINE LCD_BIT 0
DEFINE LCD_RSREG PORTD
DEFINE LCD_RSBIT 7
DEFINE LCD_EREG PORTD
DEFINE LCD_BITS 8
DEFINE LCD_LINES 4
DEFINE LCD_EBIT 6
dsp var portd.5
FLAGS = 0
START:
dsp = 0
LCDOUT $FE,1 :PAUSE 500 : LCDOUT "SYSTEM 1" 'lcd upper
dsp = 1
LCDOUT $FE,1 :PAUSE 500 : LCDOUT "TWO SYSTEM" ' bottom lcd
goto start