jnthas / mariobros-clock

The Mario Bros wall clock project
https://jnthas.github.io/mariobros-clock
MIT License
59 stars 9 forks source link

Adding touch control to change the display brightness #1

Open witnessmenow opened 2 years ago

jnthas commented 2 years ago

Hey! What do you think to turn the use of touch buttons optional through a directive? Trinity provides a facility to use the built-in touch function, but maybe they are not using Trinity, using pin 8 and 9 for other reason or they want other function for touch buttons than set bright. Let me know your opinion.

witnessmenow commented 2 years ago

Probably makes more sense to make it a boolean config setting in WiFiManager otherwise you technically would need to binaries to enable it. What do you think?

jnthas commented 2 years ago

Makes sense. It's works for me as well. I think the parameter could be something like "Trinity board" and soon we can add more functionalities based on that.