After recently discovering the ESP32, I've been inspired to attempt my first electronics project. It will be a very simple wifi-enabled light.
I thought I would take advantage of the capacitative touch pins on the ESP32 and add two on-device touch buttons to increase/decrease the brightness.
Then I thought I might be able to save a pin if the buttons are able to return different capacitive values, and if my code can consistently detect these different threshold levels.
After much searching around, I have not been able to find any examples of capacitative switches used in this way, or any switch components that provide graduated capacitive values.
Is this a bad idea? Or is the capacitance range for these switches sufficient that I could be able to achieve this kind of multi-state set up?