Quote Originally Posted by jellis00 View Post
The below rather simple code will not operate a 2x16 LCD display that is installed in my EasyPic6 with a 18F4550 MCU ...
Code:
    DEFINE LCD_DREG PORTB       ' Use PortB for LCD Data
    DEFINE LCD_DBIT 4           ' Use lower(4) 4 bits of PortB
                                ' PORTB.0 thru PORTB.3 connects to
                                ' LCD DB4 thru LCD DB-7 respectively
    DEFINE LCD_RSREG PORTB      ' PORTB for RegisterSelect (RS) bit
    DEFINE LCD_RSBIT 4          ' PORTB.4 pin for LCD's RS line
    DEFINE LCD_EREG PORTB       ' PORTB for Enable (E) bit
    DEFINE LCD_EBIT 5           ' PORTB.5 pin for LCD's E line
Double check your LCD connections.
It looks like your data bus and the RS/E are on the same pins.
<br>