Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear Screen during shutdown #60

Closed
michaelbapst opened this issue Nov 24, 2024 · 1 comment
Closed

Clear Screen during shutdown #60

michaelbapst opened this issue Nov 24, 2024 · 1 comment

Comments

@michaelbapst
Copy link

According to precaution #3 (https://www.waveshare.com/wiki/2.13inch_Touch_e-Paper_HAT_Manual):
'When using the e-Paper display, it is recommended that the refresh interval is at least 180s, and refresh at least once every 24 hours. If the e-Paper is not used for a long time, you should use the program to clear the screen before storing it. (Refer to the datasheet for specific storage environment requirements.)'

Apparently it will damage the screen (probably burn-in) if the screen is left with an image on it.

If we could get the screen to clear on shutdown from the web interface would be great. I'm used to Arduino stuff, I really don't know python at all, but according to the samples, you can clear the screen this way:

#Clear display: This function is used to clear the e-paper to white.
def Clear(self)

Also the precautions also mention:

  1. For e-Paper displays that support partial refresh, please note that you cannot refresh them with the partial refresh mode all the time. After refreshing partially several times, you need to fully refresh EPD once. Otherwise, the display effect will be abnormal, which cannot be repaired!
  2. Note that the screen cannot be powered on for a long time. When the screen is not refreshed, please set the screen to sleep mode or power off it. Otherwise, the screen will remain in a high voltage state for a long time, which will damage the e-Paper and cannot be repaired!

I don't know if these precautions are an issue, but I figured I would point them out just incase so our E-Paper screens don't get damaged.

Amazing work by the way, I love the whole Viking/Tamagotchi/Hack vibe, its awesome.

@infinition
Copy link
Owner

@michaelbapst Thanks for your message, i've implemented it in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants