MPR121 Capacitive Touch Driver for esp-idf.
I ported from here.
MPR121 Capacitive Touch switch.
esp-idf v4.4 or later. This is because this version supports ESP32-C3.
git clone https://github.com/nopnop2002/esp-idf-mpr121 cd esp-idf-mpr121 idf.py set-target {esp32/esp32s2/esp32s3/esp32c3} idf.py menuconfig idf.py flash
You can change it to any pin using menuconfig.
https://github.com/nopnop2002/esp-idf-ttp229