Search found 1 match
- Tue Jun 01, 2021 7:03 pm
- Forum: Sample Code
- Topic: Analog Interrupts
- Replies: 1
- Views: 16780
Analog Interrupts
Hello, I am working with the MQ-2 smoke sensor and am trying to set it up for its analog output to trigger an interrupt. I got code working that has a capacitive touch button (wire) trigger an interrupt: /* * Capacitive touch code using ESP32 GPIO4 (TOUCH0) */ const int touchPIN = 4; //Touch button ...