int option = 0; //this is to know witch button was touched int count = 0; //this is to know how much time the output will be working pinMode(2,INPUT);//this button stop the process ...
This is highly responsive and simple to use interrupt-based button event library for the ESP32 suitable in the Arduino framework as well as the ESP IDF framework. It uses the 'onChange' interrupt ...