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

STM32: Slide Switch -> LED

Read a slide switch on PA0 and reflect its position on the onboard PC13 LED of the STM32 Blue Pill. Flipping the switch drives the GPIO input HIGH/LOW. Demonstrates GPIO input injection from a latching element.

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