I feel like I am really missing something here. I have a 1602 display with an ic2 backpack. I am connecting it to a MDBT42Q Breakout, and using this doc: http://www.espruino.com/HD44780
I have tried different pins. I have also added pull up resistors from vcc (5v) to scl and sda
Here is the error I get. ...
>Uncaught InternalError: I2C Write Error 33281
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 2 col 45
var lcd = require("HD44780").connectI2C(I2C1);
^
Uncaught Error: Cannot read property 'print' of undefined
at line 3 col 4
lcd.print("Hello World!");
^
The MDBT42Q is a 3.3V device, so it's possible that you won't be able to communicate with the 5V LCD.
Maybe there is some solution for I2C level shifting?
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.
I feel like I am really missing something here. I have a 1602 display with an ic2 backpack. I am connecting it to a MDBT42Q Breakout, and using this doc: http://www.espruino.com/HD44780
I have tried different pins. I have also added pull up resistors from vcc (5v) to scl and sda
Here is the error I get. ...