@gordon not sure if I'm missing something, but how could I define a really wide image to render (I'm thinking platform game level graphic)? In the examples here https://github.com/espruino/EspruinoDocs/blob/master/tasks/Graphics.md, it assumes the image is 8 bits wide, and given we only have up to unit32array, does that mean the max image width is 32 pixels?
one other thing, there is an issue with that demo code, if you set some pixels to '1' in the bottom row, they don't render (i'm having to fudge it by adding an extra '0' row afterwards).
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.
@gordon not sure if I'm missing something, but how could I define a really wide image to render (I'm thinking platform game level graphic)? In the examples here https://github.com/espruino/EspruinoDocs/blob/master/tasks/Graphics.md, it assumes the image is 8 bits wide, and given we only have up to unit32array, does that mean the max image width is 32 pixels?
one other thing, there is an issue with that demo code, if you set some pixels to '1' in the bottom row, they don't render (i'm having to fudge it by adding an extra '0' row afterwards).