• 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

    • IMG_0190.JPG
About

Avatar for Wilberforce @Wilberforce started