To phrase it differently. I would like to erase the clock hand by redrawing those pixels from the background image that were written when the clock was drawn.
@FransM, great idea... almost like some IO (SPI?) protocol works: send bytes for no reason just to get the clock going and getting something back.
Instead of drawing the pixels you say to draw, you pick the pixls from an image / buffer and put it to display.
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.
@FransM, great idea... almost like some IO (SPI?) protocol works: send bytes for no reason just to get the clock going and getting something back.
Instead of drawing the pixels you say to draw, you pick the pixls from an image / buffer and put it to display.
Redrawing the same with background or previous color works quite well. I used in http://www.espruino.com/ui | Modular and extensible UI framework and ui elements. - have to update that - and also when I tried to get a pac man game going - watch .mp4 clip...