Input devices working logics explained | Pull-up and Pull-down - Wokwi ESP32, STM32, Arduino Simulator