hi there thanks for the reply. ia have resistor on that pin
i have noticed the prob with rw and rs
here are my changes in code
start:
portA = low
PortB = low
DEFINE LCD_DREG PORTA
DEFINE LCD_DBIT 0
DEFINE LCD_RSREG PORTA
DEFINE LCD_RSBIT 4
DEFINE LCD_EREG PORTB
DEFINE LCD_EBIT 3
DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
DEFINE LCD_COMMANDUS 3000
DEFINE LCD_DATAUS 300
Main:
pause 1000
LCDOUT $FE, 1
LCDOUT $FE, 2, “Hello”
pause 1000
goto Main
with connections
1 - VSS
2 - VDD
3 - VC
4 - RS - PortA.4
5 - R/W - Ground
6 - E - PortB.3
7 - Db0 -open
8- DB1 - open
9 - DB2 - open
10 DB3 - open
11 DB4 - portA.0
12 DB5 - portA.1
13 DB6 - portA.2
14 DB7 - portA.
Bookmarks