Alain,
Thanks for the reply. The PIC works fine in the EP5, and here's the start of the LCD config
I've checked the voltage on the trim pot and set it to 0.6v.Code:DEFINE LCD_DREG PORTB ' LCD Data port DEFINE LCD_DBIT 0 ' starting Data bit (0 or 4) DEFINE LCD_EREG PORTB ' LCD Enable port DEFINE LCD_EBIT 5 ' Enable bit (on EasyPIC 5 LCD) DEFINE LCD_RSREG PORTB ' LCD Register Select port DEFINE LCD_RSBIT 4 ' Register Select bit (on EasyPIC 5 LCD) DEFINE LCD_BITS 4 ' LCD bus size (4 or 8 bits) DEFINE LCD_LINES 4 ' number of lines on LCD DEFINE LCD_COMMANDUS 2000 ' Command delay time in us DEFINE LCD_DATAUS 50 ' Data delay time in us
I've also used an LED to check if anything is happening on the data lines (hope this makes sense)
RB3 (D7) - slow pulsing (50:50)
RB2 (D6) - slow pulsing (25:75 on /off)
RB1 (D5) - slow pulsing (50:50)
RB0 (D4) - quick pulse (25:75)
RB5 (E) - nothing
RB4 (RS) - on, but with a slight regular flicker
I've scraped a blade between all tracks on the board, bur still no blocks appear on the lcd




Bookmarks