This code helps to control a servo motor using a touch sensor. You can connect the wires as below. Connect the touch sensor pin to D2 Connect the servo motor pin to D9 //below is the arduino code ...
[mircemk] shows how to create a simple non-contact proximity sensor using little more than an Arduino Nano board, and a convenient software library intended to measure the value of capacitors. The ...
I use the current Arduino core for the ESP32 v3.3.0. and M5Unified also in the current version 0.2.7 with the Arduino core for the ESP32 v3.2.1 everything still ...