Having set a pin as a Touch input, how do I turn that OFF?
Posted: Sat Apr 17, 2021 2:08 pm
So, I have a touch pin that works well, but to save power, I want to turn it off, i.e. turn it back to an unassigned pin, or anything really to stop the ESP32 wasting power putting the touch sense signals on that pin.
Whatever I do seems to cause the touch pin to trigger and so immediately wake up my ESP32 from deepsleep:
Any thoughts, anyone? Hopefully I've missed something simple.
Whatever I do seems to cause the touch pin to trigger and so immediately wake up my ESP32 from deepsleep:
- I have tried setting the variable to which I assigned the TouchPad() to None.
- I have tried assigning that pin as an INPUT
- I have tried assigning that pin an OUTPUT
Any thoughts, anyone? Hopefully I've missed something simple.