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

    // 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.


Avatar for Aifer @Aifer started