In this project we will make a LED dice with 6 LEDs. Each time you click the button the dice will do a loop and show the choice that is made by the random method. The steps are shown in the video above.
Drag the 6 LEDs and a button in the work space. Select the digital pins 2, 3, 4, 5, 6 and 7 for each LED. The button uses digital pin 12. Connect the Arduino to the simulator and start the simulation.