There is no example code^^ The question boils down to this: If I use the doublebuffered mode, can I get a reference to the buffer that is currenty visible (a.k.a. the buffer that got drawn after calling g.flip() in order to access it's contents (and then copy it to the other buffer to avoid redrawing identical parts).
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.
There is no example code^^ The question boils down to this: If I use the
doublebuffered
mode, can I get a reference to the buffer that is currenty visible (a.k.a. the buffer that got drawn after callingg.flip()
in order to access it's contents (and then copy it to the other buffer to avoid redrawing identical parts).