Overview of the CapacitiveSensor Library
masterThe
CapacitiveSensor library allows you to create sensors capable of detecting touch or proximity. It works by measuring changes in capacitance, which can be used to turn any conductive object (like foil, wire, or even a person's finger) into a sensor input.