Is the graphics frame buffer on the Bangle memory-mapped and accessible from within JS? Or is data transferred in chunks to the LCD controller via SPI?
There are both modes available. Memory mapped one has lower resolution due to high memory requirements. Default full size one is unbuffered - data is transferred to LCD when drawing however it is not over SPI, there is 8bit parallel bus. See https://banglejs.com/reference#l_Bangle_setLCDMode
The display itself is connected by an 8 bit parallel bus (not memory-mapped) - but it is write-only so the memory is only really useful for graphics.
As @fanoush says there are other graphics modes provided though that do use a lower resolution offscreen buffer stored in RAM.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem