Skip to content
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

Touch Based Display Blanking #2015

Merged

Conversation

NorthernMan54
Copy link
Collaborator

Description:

I had an interesting thought the other day, what about leveraging the ESP32 Touch sensor, and use it to enable the SSD1306 display ?

This is a quick pull request with the feature.

To enable, add 'DISPLAY_BLANKING=true' to your compiler directives, and connect a wire to DISPLAY_BLANKING_TOUCH_GPIO ( defaults to GPIO 2 ).

Then when you touch the wire, the screen turns on for 30 seconds. If you build a case, just expose the wire.

Checklist:

  • The pull request is done against the latest development branch
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • I accept the DCO.

@1technophile
Copy link
Owner

Thanks

@1technophile 1technophile merged commit 36945da into 1technophile:development Aug 22, 2024
74 checks passed
@NorthernMan54
Copy link
Collaborator Author

If you have a moment to give it a try, let me know what you think and I will update the documentation to mention the feature.

I have had it running on my test devices for a while, and thought it was a great feature.

odoral pushed a commit to odoral/OpenMQTTGateway that referenced this pull request Oct 18, 2024
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