-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[TTGO Display] Plugin for TTGO Display #3961
Conversation
[TTGO Display] Plugin for TTGO Display tu use the on board display
The ST77xx series of TFT chips is already supported via plugin P116, in PR #3761, without pulling in the massive and inflexible (compile-time configuration) eTFT library... Edit: |
Not sure what to think about this PR. This also means that the code to decode commands has a lot of overlap with existing code, thus increasing the build size as it cannot be re-used. I leave it to Ton to look into this, as he's also been working a lot on the (pending) PRs for other displays. |
I can only suggest to drop this PR, as it is, as stated in the OP, a carbon copy of P095, reworked for the TTGO unit, that was even used for bug-fixing of the P116 code, starting here, implying that this is not a feasible PR. The duplication of the command handling I mitigated by implementing the AdaGFX_Helper, that processes the commands for P116, P095 and P096, and can handle any new display plugin that is based on Adafruit_GFX. It also de-duplicates most of the settings on the Device configuration page, that otherwise would have to be repeated for each display plugin. |
Closing as it is essentially a duplicate of a pending PR: #3761 |
OK, I didn't see, that you are already working on P116. If you don't mind i will test #3761 with my TTGO Display and give you feedback... |
[TTGO Display] Plugin for TTGO Display tu use the on board display