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");
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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 :)
2 Attachments