Hi, I've used code to run ssd1306 display from Espruino Web but it has some error
code I used
function start(){
// write some text
g.drawString("Hello World!",2,2);
// write to the screen
g.flip();
}
// I2C
I2C1.setup({scl:B6,sda:B7});
var g = require("SSD1306").connect(I2C1, start);
error I've got
>echo(0);
Uncaught InternalError: Timeout on I2C Write BUSY
at line 1 col 19
{b.writeTo(d,[0,a])}
^
in function called from line 1 col 147
...tion(a){b.writeTo(d,[0,a])});void 0!==c&&setTimeout(c,100);g...
^
in function "connect" called from line 1 col 47
var g = require("SSD1306").connect(I2C1, start);
^
=undefined
>
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've used code to run ssd1306 display from Espruino Web but it has some error
code I used
error I've got
anyone knows how to fix it?