New interpreter error: LOW_MEMORY,MEMORY
right after reading the large file
const Storage = require('Storage');
let ImageData = Storage.read('Lookup');
even without any other statements following.
Thus, the docs do not seem to be correct - it's not just a pointer to a memory region in flash which is returned.
Just as a remark: my lookup data is > 100kb long. I was able to successfully transfer it from PC to Bangle.js - but there it sits and cannot be used, not even in parts.
Yes, that was confirmed by Gordon and me later.
But there should be an option to seek into a file: https://github.com/espruino/Espruino/commit/24dac197a5fe83d5429251820133db9e62b01cf8
I think the docs should be updated for the Bangle.
© Espruino, powered by microcosm.
Report a problem