You are reading a single comment by @Aifer and its replies. Click here to read the full conversation.
  • function go(){
    //g.on();
    // write some text
    g.drawString("Hello World!",2,2);
    // write to the screen
    g.flip();
    }

    // SPI
    SPI2.setup({sck:18, mosi:23});
    var g = require("SSD1306").connectSPI(SPI2, 4 /DC/, 12 /RST/, go, { cs:5 });

    no errors, but the OLED doesn't work.

About

Avatar for Aifer @Aifer started