I was trying to use code from here http://www.espruino.com/SSD1306 but got that error when was trying to program my Maple Leaflabs R3+.
function start(){
:g.drawString("dafa",2,2);
:g.flip();
:}
=undefined
>I2C1.setup({scl:B6,sda:B7});
=undefined
>var g = require("SSD1306").connect(I2C1, start);
ERROR: Unable to mount SD card : NOT_READY
WARNING: Module "SSD1306" not found
=undefined
Uncaught Error: Field or method "connect" does not already exist, and can't create it on undefined
at line 1 col 27
var g = require("SSD1306").connect(I2C1, start);
^
>
is something missing in my picocom or Espruino Web IDE?
I tried to run my oled under both, same error
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.
Hi I am new here so want to say hello first ;)
I was trying to use code from here http://www.espruino.com/SSD1306 but got that error when was trying to program my Maple Leaflabs R3+.
is something missing in my picocom or Espruino Web IDE?
I tried to run my oled under both, same error