Introduction: Red LED Dice
This machine can help people to come out a number of 1-6 by using LED lights.
The original work: https://www.instructables.com/Arduino-LED-Dice-Rol...
I changed one part to let people can choose when they want to roll the dice, instead of let the machine roll by itself.
Supplies
LED lights*7
Button*1
Some Wires
Step 1: Connect the Circuit
Connect LED lights and Arduino Leonardo, and also add a button beside those LED lights.
Step 2: Code
https://create.arduino.cc/editor/bolunchang/1d74bc...
I add a button on this machine, than we can choose when do we want to roll the dice.