I tried an example code whilst in 80x80 or 120x120 mode, which just draws a rect then tries to scroll it.
g.scroll(0,-20);g.flip(); WORKS g.scroll(0,20);g.flip(); BUGGY?
Trying to get my head around it..
The smaller the value you use the more it seems to bug, as if its doing some weird division. If the number is greater than half way, the bug is less visible.
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.
I tried an example code whilst in 80x80 or 120x120 mode, which just draws a rect then tries to scroll it.
g.scroll(0,-20);g.flip();
WORKSg.scroll(0,20);g.flip();
BUGGY?Trying to get my head around it..
The smaller the value you use the more it seems to bug, as if its doing some weird division. If the number is greater than half way, the bug is less visible.