← Back to subhamyadav.com Arduino simulator · runs the original sketch's logic
Speed

Keyboard: Space run/pause · R reset · M switch mode

Running
LED on pin 3
Pin 3
LED on pin 5
Pin 5
LED on pin 7
Pin 7
LED on pin 9
Pin 9
count
doubleCount = true
millis()0
count0
LEDs on0 / 4
ModeFlashing

How it works

The sketch

Download .ino

The part of loop() that isn't running in this mode is dimmed.

Loading…

The real board

A laptop running the Arduino IDE with the Flashing Lights Metronome sketch, connected by USB to an Arduino UNO R4 WiFi wired to four glowing LEDs on a breadboard