You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I reckon something's wrong with your wiring, because pin A11 isn't even on a pin header :) http://www.espruino.com/ReferenceESPRUIN­OBOARD

    You should be able to use any pins though - although try not to use the 3 that are also used for the LEDs.

    The block of pixels happens when the display powers on - so it could be anything (but at least you know the display is working).

    I just tried again here, and it still works fine (and I tried on a few different sets of pins). I'll update the docs, but these are the connections/code I'm using:

    //                                   rs,en,d4,d5,d6,d7
    var lcd = require("HD44780").connect(A0,A1,C0,C1,C­2,C3);
    lcd.print("Hello World!");
    
    LCD Function Espruino
    1 GND GND
    2 VCC Bat
    3 Contrast GND (or variable resistor)
    4 RS A0
    5 RW GND
    6 EN A1
    7 D0
    8 D1
    9 D2
    10 D3
    11 D4 C0
    12 D5 C1
    13 D6 C2
    14 D7 C3
    15 LED +
    16 LED -
About

Avatar for Gordon @Gordon started