Arduino Leonardo Dice
- This project is inspired by Link From Arduino
This project could help us randomly roll the dice by showing different light to us it could help us reduce the time to pick up the dice from the floor so the dice would not be gone.
Supplies
- you would need 6 Led lights,
- one breadboard
- one Arduino Leonardo
- one button
- some cable
- some resister
- one box to cover up all the cable when you finish
Connect Your Materials to the Arduino Board
you have to connect your led light and your button to your Arduino Leonardo first you have to connect six lights and one button to your breadboard. (Like the picture given from the Arduino website)
Enter the Code Given From the Arduino Website
After connectin all your material to your Arduino Leonardo you have to enter the code from your computer to your Arduino board using the cable to connect, and the code from the Link is (Link for code) I changed the Time-delayed of the original code, The dice I made could run quicker which means that we could know answer of the dice faster then the original.
Final Step
After finishing everything you should use a box to cover up all the wires and only show the six led light and the button out after finishing covering up all the wires, you could use the dice and play games or use it to do other things!