I'm trying to connect a HD44780 LCD Display to a Pico but get the below error. I use two 4.7K resistors but maybe have connected them incorrectly (3.3-SDA,3.3-SCL)?
I'm using the native Web IDE on Windows 10.
Many thanks
I2C1.setup({scl:B6, sda:B7});
var lcd = require("HD44780").connectI2C(I2C1);
lcd.print("Hello World!");
|_| espruino.com
2v07 (c) 2019 G.Williams
>Uncaught InternalError: Timeout on I2C Write BUSY
at line 2 col 13
g|4,g|4,g,g])
^
in function "a" called from line 1 col 7
a(51,1);a(50,1);a(40,1);a(12,1);a(6,1);a(1,1);return{write:a...
^
in function "h" called from line 2 col 15
g|4,g|4,g,g])})
^
in function "connectI2C" called from line 3 col 45
var lcd = require("HD44780").connectI2C(I2C1);
^
Uncaught Error: Cannot read property 'print' of undefined
at line 4 col 4
lcd.print("Hello World!");
^
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.
Hello,
I'm trying to connect a HD44780 LCD Display to a Pico but get the below error. I use two 4.7K resistors but maybe have connected them incorrectly (3.3-SDA,3.3-SCL)?
I'm using the native Web IDE on Windows 10.
Many thanks
2 Attachments