Tweet

Replying to @RoMuscat

It’s similar in design to a capacitive touch slider; five interlocking zigzaggy pads, each connected to a GPIO pin and a 1MΩ drain resistor. Uses CircuitPython’s touchio method for measuring raw touch values, which is to charge each pad & measure how long the pin takes to go low.

(original)