when i run into a error, that the coordinate system moved when i load the widegets with
Bangle.loadWidgets()
Before i run this line, i can draw a string at 0,0. If i run the same draw command after i loaded the widegts the string is moved to the top left out of the screen. Do you know what the problem could be?
Here is an example code.
g.clear();
g.drawString("hi this is a long sentence", 0,0);
Bangle.loadWidgets();
g.drawString("hi this is a long sentence", 0,0);
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 everyone,
when i run into a error, that the coordinate system moved when i load the widegets with
Before i run this line, i can draw a string at 0,0. If i run the same draw command after i loaded the widegts the string is moved to the top left out of the screen. Do you know what the problem could be?
Here is an example code.