Breadboard
docs
Example project · Microcontrollers

Arduino Uno blink (open bench)

The classic first sketch on the classic board: a real emulated ATmega328P Uno on the open bench, D13 wired to an LED pin-to-pin. The Code tab opens with the sketch; sign in and press Compile & upload to build it on the server and flash the result.

The Arduino Uno blink (open bench) circuit as rendered by the simulator

What's on the bench

  • Arduino Uno
  • Battery
  • LED
  • Resistor

The code

This Arduino C++ sketch lives in the Code tab; sign in and press Compile & upload to build real firmware for the emulated board.

// The classic blink. Edit it, then Compile & upload (sign-in needed):
// the server builds real AVR firmware and boots it on this emulated Uno.
void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);
  delay(500);
  digitalWrite(LED_BUILTIN, LOW);
  delay(500);
}