Since touch mode is pretty much just digital input, it makes sense to be able to change from touch mode to other standard GPIO modes (read digital, write digital, read analog) without an error (you can already change from read digital to write digital without error).
Without a patch like this there's no way to get a pin out of touch mode once pin.is_touched() is called.
Since touch mode is pretty much just digital input, it makes sense to be able to change from touch mode to other standard GPIO modes (read digital, write digital, read analog) without an error (you can already change from read digital to write digital without error).
Without a patch like this there's no way to get a pin out of touch mode once
pin.is_touched()
is called.