You are reading a single comment by @user118421 and its replies. Click here to read the full conversation.
  • Thank you so much for all replies!

    I tried these three suggestions you made but still no "Hello World!". The display is lit and now I don't get any error message. The console.log message is printed but no text on the LCD. Could it be some additional silly beginners mistake I'm doing? The good thing is that I got the Nokia 5110 display I mentioned before to work - it was just a connectivity issue and now it works perfect :)

    var i = new I2C();
    i.setup({scl:B6, sda:B7});   
    // PCF8574AT based IO expanders default to address 0x3F
    var lcd = require("HD44780").connectI2C(i, 0x3F);   //also tried changing 0x3F to 0x27   
    lcd.print("Hello World!");
    console.log("test");
    
    var i = new I2C();
    i.setup({scl:B6, sda:B7});   
    // PCF8574AT based IO expanders default to address 0x3F
    var lcd = require("HD44780").connectI2C(i);      
    lcd.print("Hello World!");
    console.log("test");
    
    I2C2.setup({scl:B10, sda:B3});
    var lcd = require("HD44780").connectI2C(I2C2);
    lcd.print("Hello World!");
    console.log("test");
    

    2 Attachments

    • IMG_20201005_185834 - Copy.jpg
    • IMG_20201005_184746 - Copy.jpg
About

Avatar for user118421 @user118421 started