Skip to content

Releases: arduino-libraries/Arduino_CapacitiveTouch

Initial release

30 May 13:16
e996cdc
Compare
Choose a tag to compare

A simple, beginner-friendly C++ library that brings capacitive touch sensing to the Arduino UNO‑R4 Minima and UNO‑R4 WiFi. It abstracts away all the low‑level CTSU, DTC, and interrupt details so you can focus on building interactive projects.

Under the hood:

  • Pin mapping: Automatically maps Arduino pin → CTSU channel.
  • DTC: Uses hardware data transfers and event linking to free the CPU.
  • ISR callbacks: Handles end‑of‑measurement for one‑shot or free‑running scans.
  • Baseline calibration: Auto‑zeroes the sensor to detect both upward and downward changes.
  • Thresholding: Choose your sensitivity easily with setThreshold().