Still doing the same thing to me. I copied the exact code here and pasted it into an empty program. Tried with the old config settings, and the new one's suggested here. Very strange. Appreciate all of the ideas, so far, I just got a weird one here. Isn't there a file somehwre that has settings in it for different PIC's? Maybe I need to change something in that?
Oh, here are the defines that I've been using in the full program:
DEFINE LCD_DREG PORTA 'Define PIC port used for LCD Data lines
DEFINE LCD_DBIT 0 'Define first pin of portb connected to LCD DB4POTSETTTT
DEFINE LCD_RSREG PORTA 'Define PIC port used for RS line of LCD
DEFINE LCD_RSBIT 4 'Define Portb pin used for RS connection
DEFINE LCD_EREG PORTB 'Define PIC port used for E line of LCD
DEFINE LCD_EBIT 3 'Define PortB pin used for E connection
DEFINE LCD_BITS 4 'Define the 4 bit communication mode to LCD
DEFINE LCD_LINES 2 'Define using a 2 line LCDRefTime
DEFINE LCD_COMMANDUS 2500 'Define delay time between sending LCD commands
DEFINE LCD_DATAUS 1200 'Define delay time between data sent.
Gary





Bookmarks