
Originally Posted by
wdmagic
OK I now have something on LCD but its jibberish. I moved chip and lcd to breadboard for time being, PORTC 0-3 is now starting bits, RS is C.4 and E is C.5, nothing else is hooked up except LCD. I will need to turn on ADC for PORTA 0 & 1 after LCD starts working.
I had trouble without the following two defines (after the ones you already have):
Code:
' Set command delay time in us
DEFINE LCD_COMMANDUS 1500
' Set data delay time in us
DEFINE LCD_DATAUS 44
Then try this:
Code:
PAUSE 500 ' Wait 0.5sec for LCD to initialize (May need to be one second, depends on your LCD)
DO
LCDOUT $FE, 1, "This is a Test"
Pause 1000
LCDOUT $FE, 1 'clear the screen
Pause 250 'wait 1/4 second
Loop
No reason the above shouldn't work. Good luck
Bookmarks