digital pulse counter with reset .ino - Wokwi ESP32, STM32, Arduino Simulator