The Touch module allows for certain GPIO pins (
P20) to accept capacitive touch inputs.
A touch input is similar to a button, except for the lack of mechanical contact. The capacitive nature of touching a pad or pin will trigger a touch event.
Create a touch object on pin.
touch = Touch('P9') touch.read()
Reads the value of the touch pin
Set the threshold of the touchpad interrupt. Currently not used
Currently not implemented