In this project we will light up a Christmas tree with 8 LEDs. The Arduino will choose a random pin between 0 and 8 to put HIGH or LOW with the random instruction.
The Instructions with a capital letter have to be changed to the original codes (digitalWrite).
Select the used inputs and outputs on the simulator. In this case we use LEDs on digital pins 2, 3, 4, 5, 6, 7, 8 and 9. Connect the Arduino with the COM port in the simulator and start simulating. You can restore saved setups by going under File and choose for ‘Restore settings’. Select the setup file and all the saved settings will be restored. It’s possible to load an image into the simulator to use as background.