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:
- 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
However, it seems, once a TouchPad, always a TouchPad, which I'm sure is a common scenario, but as usual, I want to do something different
Any thoughts, anyone? Hopefully I've missed something simple.