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

Optimised "showing time" python examples #301

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xxd-dev
Copy link

@xxd-dev xxd-dev commented Aug 31, 2023

During the "showing time" python examples, the e-Paper Displays refresh as often as possible. This causes the following issues:

  • It does not make sense to refresh the display if the text on is has not changed.
  • The seconds don't appear to be equally long because of misalignment of refresh times.

I added a wait before refreshing the screen, that always waits until the next full second. This solves all above mentioned issues.

I tested this on the epd2in13_V3 successfully. I have not tested it on other displays as I do not have them available.
I adjusted this on every file in the RaspberryPi_JetsonNano/python/examples/ folder where I found a "showing time" section.

Displays now wait for the next full second instead of refreshing as often as possible in the python examples folder.
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

Successfully merging this pull request may close these issues.

None yet

1 participant