Simulation – Button with LED

As second project we will simulate a button with a LED. By clicking the button, the LED will light up.

Open the Arduino Simulator and go under Help -> Arduino programming code and choose the Arduino programming code (ino). This is an already prepared Arduino (ino) sketch where you can immediately start with.

Handy tip: You can restore saved setups by going under File and choose ‘Restore settings’. Select the setup file and all the saved settings will be restored.

Arduino code