EA-DIP204 4NLW Initialising

Hello,

i have a new init-sequence for this EA-DIP204-4NLW display.

Here is the code:

LiquidCrystal lcd(9, 8, 7, 6, 5, 4);

void setup() {

  // set up the LCD's number of columns and rows: 
  lcd.begin(20, 4);
  {
    lcd.command(0x01);//clear display lcd.command (0x01) / / clear display
    delay(02); 
    lcd.command(0x24);//function set RE=1 lcd.command (0x24) / / function set RE = 1
    delay(50); 
    lcd.command(0x09);//extendet function set, 4 lines, 5-dot fontwith
    delay(50); 
    lcd.command(0x20);//function set RE=0 lcd.command (0x20) / / function set RE = 0
    delay(50); 
    lcd.command(0x0C);//control, display on, cursor off, blinken off
    delay(50); 
    lcd.command(0x01);//clear display lcd.command (0x01) / / clear display
    delay(20); 
    lcd.command(0x06);//entry mode segment bidirectional

  }
  
}

you must also modify the cpp.file inside the LyquidCrystal Libray:

change int row_offsets[] = { 0x00, 0x40, 0x14, 0x54 };
to int row_offsets[] = { 0x00, 0x20, 0x40, 0x60 };

Thats all.

Jürgen