Since the BangleJS has a framebuffer, I expected its Graphics Object to extend the arraybuffer one, but that is apparently not the case as g.buffer is undefined and g.asImage("object") returns a copy.
Is there any way to access the framebuffer directly?
Edit: Couldn't find a good way to do it, did it anyway.
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.
Since the BangleJS has a framebuffer, I expected its Graphics Object to extend the arraybuffer one, but that is apparently not the case as
g.buffer
is undefined andg.asImage("object")
returns a copy.Is there any way to access the framebuffer directly?
Edit: Couldn't find a good way to do it, did it anyway.
Also, I think 'LCD' was meant to be 'g' in https://www.espruino.com/Graphics (or does that not apply to the BangleJS2?):