• In my case the problem isn't the WiFi code.

    I spent some time adding comments to my code until I isolated the lines that triggered the problem;

    Line 3 was the culprit (I included the rest of the SPI configuration commands in case they are relevant)

    var spi = new SPI();
    spi.setup({mosi: B6 /* D1 */, sck:B5 /* D0 */});
    oled = require("SH1106").connectSPI(spi, B8 /* DC */, B7 /* RST - can leave as undefined */, screenReady);
    
About

Avatar for Frank @Frank started