Ladies and Gents,

I was wondering if anyone can give me a few clues on how to get an LCD to work when driven by a 12F683 and using LCDOUT. I'd tie the R/W pin to ground like the book says since I won't be using it. Ten I'd tie the RS and E to +5V 'cause as I see it the LCD should always be ready for data.

I know there aren't 4 pins in a row so I'd need to use GPIO.0, GPIO.1, GPIO.2 and GPIO.3. I won't have anything exotic running to it but I think it will be a good lesson is using LCds

For the DEFINEs the manual says
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 1500
DEFINE LCD_DATAUS 44

but the 12F683 has PORT0. Can I use:

DEFINE LCD_DREG GPIO
DEFINE LCD_DBIT 0
DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
DEFINE LCD_COMMANDUS 1500
DEFINE LCD_DATAUS 44

And not use these:
DEFINE LCD_RSBIT 4
DEFINE LCD_RSREG PORTA
DEFINE LCD_EREG PORTB
DEFINE LCD_EBIT 3
since their always high with my scheme.

I saw the example of bit banging on the MELabs site but wanted to use LCDOUT for it's ease of use.

Your replies are almost always appreciated especially if they work.