Skip to content

diy: waveshare lcd touch 2 improvements #230

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

trevarj
Copy link
Contributor

@trevarj trevarj commented May 9, 2025

Got pretty excited that there is a confirmed one whole extra person using this board besides me, so I finally put my head down and finished a few things that were bothering me and improving the device's usability.

Battery and backlight are taken from Waveshare's examples and adjusted slightly.

  • Added battery voltage and status
  • Added USB connectivity check (guess from ADC voltage)
  • Added sleep/wake using BOOT button
  • Enabled display brightness setting

- Added battery voltage and status
- Added USB connectivity check (guess from ADC voltage)
- Added sleep/wake using BOOT button
- Enabled display brightness setting
@JamieDriver
Copy link
Collaborator

Cheers - I'll take a look next week. 👍

@harinworks
Copy link

Many thanks to @trevarj for the initial contribution.
I've built upon that work and submitted a follow-up PR #232 to further improve the code.
Please take a look when you have time!

@trevarj
Copy link
Contributor Author

trevarj commented May 22, 2025

@harinworks Thanks for the fixes! Would you mind putting that PR up against my repo instead? Then I can merge it there and it will show up on this PR.

@harinworks
Copy link

@trevarj Done! Please check your repo :)

Refactor wslcdtouch2.inc for better code clarity
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.

3 participants