i don't know if its best to put that into the library as code or ...
Interesting about the LUTs - yes, best keep them out of the library if we're targeting multiple devices. Maybe we could have separate library files with them in? For example:
One other thing to add - if you've got a big Uint8Array you can use E.toUint8Array(atob("....")) with a base64 encoded blob - it'll be quicker to decode than numbers and should take less space :)
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.
Interesting about the LUTs - yes, best keep them out of the library if we're targeting multiple devices. Maybe we could have separate library files with them in? For example:
One other thing to add - if you've got a big Uint8Array you can use
E.toUint8Array(atob("...."))
with a base64 encoded blob - it'll be quicker to decode than numbers and should take less space :)