However it's really interesting that your code has the option to use ST7565_LCD_CMD_SET_STATIC_OFF to save a bit more power by not even having the LCD controller remember what was on it.
That'd be a really good idea (as Espruino knows the display contents anyway), but I just did some tests and I'm actually struggling to see any difference with/without it.
It'd be great if someone else could take a look though - it seems unlikely that it has no effect at all
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.
Nice, thanks! In a really strange coincidence I actually added a function to Pixl.js for this at almost the exact same time as your post! https://github.com/espruino/Espruino/commit/87f2ce3e035efb4166ee0dab7805058dc4c70ecf
However it's really interesting that your code has the option to use ST7565_LCD_CMD_SET_STATIC_OFF to save a bit more power by not even having the LCD controller remember what was on it.
That'd be a really good idea (as Espruino knows the display contents anyway), but I just did some tests and I'm actually struggling to see any difference with/without it.
It'd be great if someone else could take a look though - it seems unlikely that it has no effect at all