You are reading a single comment by @AlexOwen and its replies. Click here to read the full conversation.
  • I managed to solve it! I was assuming the library would set the pinMode, but it doesn't (maybe it should?). Here's the working code:

    pinMode(2, 'output');
    pinMode(4, 'output');
    pinMode(5, 'output');
    pinMode(12, 'output');
    pinMode(13, 'output');
    pinMode(14, 'output');
    var lcd = require("HD44780").connect(4,5,12,13,14,2);
    lcd.print("Hello World");
    

    @DrAzzy, setting the debug mode seems to have no effect, but I've added it in just to cover all bases, thanks for that.

    @Wilberforce, my setup was on veroboard and working last time I used it, but thanks for the suggestion.

    @Gordon, thanks for your input as always (I still think it's amazing that you put so much time and effort into this). I'm not sure if the driver should set the pinMode or if the Espruinos have different defaults to the ESP8266.

About

Avatar for AlexOwen @AlexOwen started