Code Lab
Write real Arduino code. Watch a real board react.
This runs actual C/C++-style Arduino code through a live interpreter — no physical board required. Pick a starter sketch, press Run, and press the button or move the slider on the virtual board while your code is running.
Deciding on hardware for your classroom? Read Arduino vs Raspberry Pi for Kenyan Schools.
Virtual Arduino Uno
Onboard LED = pin 13 · External LED = pin 9 (PWM) · Button = pin 2 · Potentiometer = A0
Push ButtondigitalRead(2)
PotentiometeranalogRead(A0)
512
Add-on Components
Traffic light = pins 5/6/7 · Buzzer = tone() on pin 8 · Servo = pin 11, angle 0°
Serial Monitor
// Output from Serial.print()/println() appears here.