
How it works
Hello-world on a real emulated ATmega328P: the Nano boots genuine AVR machine code that drives D13 high and low every 500 ms, and the green LED follows through its 220 Ω series resistor. Code holds the same logic as an Arduino sketch (pinMode, digitalWrite, delay): sign in and press Compile & upload, and the server builds real firmware from your edit and flashes it onto the bench board.
What's on the bench
- Arduino Nano
- LED
- Resistor
How it's wired
- hole a23→hole B-13
- hole j23→hole B+13
- hole j34→hole j37
- hole j40→hole j42
- hole j44→hole B-37
The code
This Arduino C++ sketch lives in Code; sign in and press Compile & upload to build real firmware for the emulated board.
// The same blink as an Arduino sketch. Edit it, then Compile & upload // (sign-in needed): the server builds real AVR firmware and flashes it here. void setup() { pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); delay(500); digitalWrite(13, LOW); delay(500); }
Try this
- Probe D13 and open the Scope: a clean 1-second-period square wave between 0 and 5 V.
- Change both delay(500) values in Code and Compile & upload to set your own rhythm.
- Hover the LED’s anode while it blinks and watch the voltage step in place.
- Swap the LED color in the Inspector. The electrical behavior doesn’t change, the glow does.



