Hope someone can help...
I'm trying to get a 2x16 LCD diplsy running on 16F684
Pin Connections are as follows
RA0 = LCD-D4
RA1 = LCD-D5
RA2 = LCD-D6
RA3 = LCD-D7
RA4 = LCD-EN
RA5 = LCD-RS
The basic test program is shown below and I'm using Proteus to simulate the program...
All i get from proteus is constant errors.....
[HD44780] Controller received data while busy..
Can anyone help ??????
Device 16F684' ' use a 16F676 for this experimemt
XTAL = 4 ' ' Choose a crystal frequency of 4MHz
ALL_DIGITAL true
Declare LCD_TYPE 0 '
Declare LCD_INTERFACE 4 ' LCD INTERFACE 4 Bit
Declare LCD_LINES = 2 ' 2 LINE LCD
Declare LCD_ENPIN PORTA.4 ' LCD ENABLE PIN = PORTA.4
Declare LCD_RSPIN PORTA.5 ' LCD RS PIN = PORTA.5
Declare LCD_DTPIN PORTA.4
display_me:
Print $FE, 128 ' Clear screen
Print "hello world"
DelayMS 10000
GoTo display_me
Hi, its great to see you visiting our forum. Why not try Proton Compiler for FREE?
Download the FREE version of Proton Compiler, Its called Amicus18 and its available from HERE
Already using proton Compiler??? Get rid of these pesky messages... get LICENSED USER STATUS


Reply With Quote
