ESP8266 - PCF8574 8 bit IO expander from DX.com
pinMode(NodeMCU.D5,'input_pullup'); pinMode(NodeMCU.D4,'input_pullup'); I2C1.setup({scl:NodeMCU.D5, sda:NodeMCU.D4}); var lcd = require("HD44780").connectI2C(I2C1); lcd.print("Hello World!"); lcd.setCursor(0,1); lcd.print("ESP8266!");
I'm not sure if the pull up lines even have an effect, as it works without them too!
1 Attachment
@Wilberforce started
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.
ESP8266 - PCF8574 8 bit IO expander from DX.com
I'm not sure if the pull up lines even have an effect, as it works without them too!
1 Attachment