Hi, I've had a look and couldn't find anything on getting a screen dump of the current view on the watch - I tried a few of the things from the Graphics library like fromBPM but that gives me:
Uncaught Error: asBMP/asURL only works on 1bpp/24bpp Graphics
And if I try getImage with an object or string I get:
Interpreter error: [
"LOW_MEMORY",
"MEMORY"
]
New interpreter error: LOW_MEMORY,MEMORY
g.buffer seems to be undefined - I was trying to see if I could convert it to a UInt8Array and then to string.
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've had a look and couldn't find anything on getting a screen dump of the current view on the watch - I tried a few of the things from the Graphics library like fromBPM but that gives me:
Uncaught Error: asBMP/asURL only works on 1bpp/24bpp Graphics
And if I try
getImage
with an object or string I get:g.buffer
seems to be undefined - I was trying to see if I could convert it to a UInt8Array and then to string.Does anyone have any suggestions?