An Arduino Capacitive Sensing library for RP2040 (Raspberry Pi Pico) boards, using the PIO processor.
This library is based on the measuring methods used in the Capacitive Sensing Library for 'duino / Wiring (sampling method differs) You can view this library here https://github.com/PaulStoffregen/CapacitiveSensor
It now handles multiple capacitive sensing touchpads. It uses one PIO state machine (sm) per capacitive sensor - i.e. max is 4 per PIO (or 8 per RP2040 using both PIO's).