Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Capacitive touch sensors on ESP32

$
0
0
Hello. I need a way to increment or decrement a counter using hardware. I have initially thought of using 2 buttons - very simple and old method ( one for incrementing and one for decrementing). I have recently found out abut the ESP32 pins that are able to detect a change in electrical charge. I have tested it and they actually work! When I touch it with my finger, the value goes LOW
Code:
void setup() {
  Serial.begin(115200);
  delay(1000); // give me time to bring up serial monitor...
Capacitive touch sensors on ESP32

Viewing all articles
Browse latest Browse all 4923

Trending Articles