Hi,

I just got this 4x40 character NewHaven LCD display.

http://www.newhavendisplay.com/specs...WH-ATMI-JT.pdf

From the datasheet you can see that it has two enable pins, E1 and E2. E1 for the top two lines and E2 for the bottom two lines.

Name:  LCD4x40.JPG
Views: 4779
Size:  70.9 KB

Now, from the well known PBP procedure that we all use to drive these character LCD displays we only have access to one enable pin.

Code:
DEFINE LCD_DREG PORTA 全et LCD Data port DEFINE LCD_DBIT 0 全et starting Data bit (0 or 4) if 4-bit bus DEFINE LCD_RSREG PORTA 全et LCD Register Select port DEFINE LCD_RSBIT 4 全et LCD Register Select bit DEFINE LCD_EREG PORTB 全et LCD Enable port DEFINE LCD_EBIT 3 全et LCD Enable bit DEFINE LCD_BITS 4 全et LCD bus size (4 or 8 bits) DEFINE LCD_LINES 2 全et number of lines on LCD
Is there any workaround for this problem? How can I make this 4x40 display work?

Thank you,

Robert