As you already have graphics = require("SSD1306").connect(I2C1, initGraphics, { height : 64 });
graphics = require("SSD1306").connect(I2C1, initGraphics, { height : 64 });
You can get rid of your oninit() that calls load module.
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As you already have
graphics = require("SSD1306").connect(I2C1, initGraphics, { height : 64 });
You can get rid of your oninit() that calls load module.