The fast touch algorithm reimplemented in the library available
here was developed for my
FingerPhone Instrument.
The fast touch library senses touch on any digital I/O pin on many embedded controllers with the Arduino IDE. This includes Atmega 8-bit, SAMD21, and Teensy. This includes most pins on most micro-controllers. A few micro controllers have analog input pins that can't also do digital I/O .
The library relies on the ability to enable a built-in pull-up resistor on the pin being sensed.
Here is the algorithm:
set the pin to output a LOW value for 1uS or so.