Skip to content

Refactor wslcdtouch2.inc for better code clarity #232

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

Closed
wants to merge 3 commits into from

Conversation

harinworks
Copy link

@harinworks harinworks commented May 22, 2025

Note: Please merge #230 first, as this contribution based on Trevarj's previous commits.


Refactor wslcdtouch2.inc for better code clarity

  • Added static keyword to local functions
  • Cleaned up power_backlight_on() function
  • Improved error handling

Enable OV2640 support for Waveshare LCD Touch 2

  • Waveshare sells this product with two camera module options: OV5640 and OV2640.
  • This update enables support for the OV2640 module.

trevarj and others added 2 commits May 9, 2025 15:29
- Added battery voltage and status
- Added USB connectivity check (guess from ADC voltage)
- Added sleep/wake using BOOT button
- Enabled display brightness setting
@harinworks
Copy link
Author

harinworks commented May 22, 2025

Moved to trevarj#1

@harinworks harinworks closed this May 22, 2025
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.

2 participants