The emulator performs some strange variable reassignments to my code when I try to minify it.
When I change these variable definitions from let keys; to var keys; and re-run the code, I get low memory errors. This happens for both Bangle.js 1 and 2.
How can I overcome these limitations? Is there a way that I can simulate more memory on the emulator?
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.
The emulator performs some strange variable reassignments to my code when I try to minify it.
When I change these variable definitions from
let keys;
tovar keys;
and re-run the code, I get low memory errors. This happens for both Bangle.js 1 and 2.How can I overcome these limitations? Is there a way that I can simulate more memory on the emulator?