But every time a widget changes after that, you'll get flickering.
You can use a memory-based buffer with Graphics.createArrayBuffer though, and copy that to the screen when you're done (there are a few examples in BangleApps). The widget bar will then work fine, plus it'll be right at the top of the screen
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'm afraid widgets don't work in double-buffered mode, because they're only expecting a single buffer.
You can hack around it using:
But every time a widget changes after that, you'll get flickering.
You can use a memory-based buffer with
Graphics.createArrayBuffer
though, and copy that to the screen when you're done (there are a few examples in BangleApps). The widget bar will then work fine, plus it'll be right at the top of the screen