Logicraft Studios
Offline Arduino, RP2040 & ESP32 simulator
Starting local backend…
Logicraft Studios LogoLogicraft StudiosSTUDIO
ExamplesEditorAboutGitHub
Logicraft Studios / Examples / STM32: Push Button -> LED
STM32: Push Button -> LED
BasicsbeginnerArduino Uno

STM32: Push Button -> LED

Read a push button on PA0 (INPUT_PULLUP) and mirror it to the onboard PC13 LED on the STM32 Blue Pill. Pressing the button drives the GPIO input LOW; the firmware lights the LED while pressed. Demonstrates GPIO input injection.

What you'll simulate

  • ✓Real Arduino Uno emulation — cycle-accurate, no hardware needed
  • ✓1 interactive component on the canvas
  • ✓Serial Monitor included — see output in real time
← Back to examples