liberatedsystems / RNode_Firmware_CE

RNode is an open, free and flexible digital radio interface with many uses
https://unsigned.io/rnode
GNU General Public License v3.0
51 stars 11 forks source link

screensaver #22

Closed jeremybox closed 2 months ago

jeremybox commented 3 months ago

Adds a rudimentary screen saver that briefly (500ms) inverts the screen every 10 minutes on OLED displays to prevent burn-in.

jeremybox commented 2 months ago

I tested this on a heltec v3.

jacobeva commented 2 months ago

I honestly had no idea this was an issue, but it seems this is certainly warranted! https://hackaday.com/2019/04/23/a-year-long-experiment-in-oled-burn-in/

I will test this functions with the current master and get back to you.

jacobeva commented 2 months ago

I should mention that using delay() in the display functionality is a really bad idea, as it blocks the rest of the program executing (and consequently stops packets being transmitted, etc). I've edited your changes to be non-blocking, but it may be worth remembering this for the future :)