With most of these displays scrolling (back) is a challenge: the display buffer memory is exactly the size of the display's pixels, which means that all is display memory to MC memory and back operations... doing so over serial and in js put's you to sleep. Furthermore, writing to an area that is not in display does not work (it would work if display buffer would be memory mapped). Of course, you can always just write to a memory buffer, but then you have to update the display... For a small Nokia 5110 BW LCD display (84x48) it is not that an issue - just 500 bytes - but for a serially connected 262K color display it get's really snaily... see Performance live in .mp4 for 20x20 px.
© Espruino, powered by microcosm.
Report a problem