Skip to content

feat: implement basic support for turing 8.8 inch screen #585

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

Conversation

nreinartz
Copy link

@nreinartz nreinartz commented Oct 11, 2024

Merges main back to target branch and implements the basic support and additional functions for the 8.8 inch screen #264

The new model is handled in a separate class due to several protocol changes. The only feature that is missing is the support for system sleep. There are several issues with that:

  1. Interval in which window messages are received (0.5s) is too small. This leads to the sleep/turnoff commands not being sent on time and the display not turning off. Setting this to 0.01 resolves this, but leads to high CPU usage.
  2. After waking up, the image updates are still generated and sent to the device, even though there is no active connection. This crashes the whole app. The whole process of displaying a theme needs to be restarted at this point, but I don't see the possibility to do that with the current state of the project.

Feel free to use this draft PR as a base for the 8.8 support. Unfortunately I am missing the energy and motivation to fix the remaining stuff.

@rastersoft
Copy link

Tested this on my TRUZX 8.8 screen and works fine... except for two little details:

  • I had to modify the shebang from #!/usr/bin/env python to #!/usr/bin/env python3 in order to make the programs to work
  • The portrait and landscape modes are switched

@Mumrikken
Copy link

Great work! It's really good to see this getting some progress after over 1 year. Still waiting for the 2.1 inch round display..

@mathoudebine
Copy link
Owner

Hello @nreinartz
Thanks for the PR and for sharing your work here.
I think I won't be merging it, because the 8.8" display uses the same serial commands as the 5" display so I prefer to use the same class for both.
I have it ready on this draft PR #690
It will also add the support for 2.1" round displays

@mathoudebine mathoudebine deleted the branch mathoudebine:feature/264-88-inch-screen-support February 21, 2025 17:28
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.

4 participants