Thank you so much for the responses! I am just now back at a computer to post this.
I just realized that these are 5v. I have two of the same screens and backpacks.
I have checked the connection many time, and I just tried flipping the pins.
Here is my code.
var i2c = new I2C();
I2C1.setup({scl:D28, sda:D29});
var lcd = require("HD44780").connectI2C(I2C1);
lcd.print("Hello World!");
I have tried with and without "var i2c = new I2C();"
When I run: getPinMode(pin) I get "input_pullup" for both pins. That doesn't seem right
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 the responses! I am just now back at a computer to post this.
I just realized that these are 5v. I have two of the same screens and backpacks.
I have checked the connection many time, and I just tried flipping the pins.
Here is my code.
I have tried with and without "var i2c = new I2C();"
When I run:
getPinMode(pin)
I get "input_pullup" for both pins. That doesn't seem right