You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tested the following example running from Web IDE version 0.68.6 Windows 64bit with ESP32 DevKitV1 (4Mb FLASH):
`//require("SH1106");
var graficos;
function dibuja(i){
graficos.clear();
graficos.drawString("World",0,10);
graficos.drawLine(i, 5, 10+i, 60);
graficos.flip();
}`
The example only draws the line but not the string. It's the drawString not working???
The text was updated successfully, but these errors were encountered:
There'll be a 1v99 release with some changes in soon that may well fix this for you (or you can use the travis builds).
But as @wilberforce says please post questions like this in the forum in the future. It makes it far more likely someone will be able to help you, as in 99% of cases these problems aren't related to the Espruino interpreter but might be related to the software module for the OLED or the hardware setup itself.
I've tested the following example running from Web IDE version 0.68.6 Windows 64bit with ESP32 DevKitV1 (4Mb FLASH):
`//require("SH1106");
var graficos;
// I2C
I2C2.setup({scl:D22,sda:D21, bitrate:400000});
graficos = require("SH1106").connect(I2C2, function(){});
console.log("hola");
for(var i=1; i<100; i++)
{
dibuja(i);
setTimeout(function(){},100);
}
function dibuja(i){
graficos.clear();
graficos.drawString("World",0,10);
graficos.drawLine(i, 5, 10+i, 60);
graficos.flip();
}`
The example only draws the line but not the string. It's the drawString not working???
The text was updated successfully, but these errors were encountered: