example pulse counter for external interrupt .ino - Wokwi ESP32, STM32, Arduino Simulator