Skip to content

Refactor wslcdtouch2.inc for better code clarity#232

Closed
harinworks wants to merge 3 commits into
Blockstream:masterfrom
harinworks:wslcdtouch2
Closed

Refactor wslcdtouch2.inc for better code clarity#232
harinworks wants to merge 3 commits into
Blockstream:masterfrom
harinworks:wslcdtouch2

Conversation

@harinworks
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor 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