• I've also had it working with an I2C OLED, the SSD1306, here's that code:

    function draw(){
      g.clear();
      g.drawString("Hello World",0,0);
      g.flip();
    }
    
    I2C1.setup({scl:NodeMCU.D4,sda:NodeMCU.D­3});
    var g = require("SSD1306").connect(I2C1, draw);
    
    Display     NodeMCU     ESP-12
    
    SCL			D4			GPIO2
    SDA			D3			GPIO0
    GND         GND         GND
    VCC         3V3         3V3
    

    These should probably be put on some wiki somewhere.

About

Avatar for MrTimcakes @MrTimcakes started