4x40 LCD Display Enable Pin


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    637

    Default 4x40 LCD Display Enable Pin

    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: 4771
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
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: 4x40 LCD Display Enable Pin

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    637


    Did you find this post helpful? Yes | No

    Default Re: 4x40 LCD Display Enable Pin

    Quote Originally Posted by mister_e View Post
    Thanks Steve. That will do it.

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts