Electronic Dice
This Arduino project displays the DICE count on an LED array. The LEDs will illuminate just like how a dice will display its values. The randomness of the dice is simulated using the random number generation block. The timer is controlled with a Stateflow chart. The selection of LEDs to be lighted up based on the final digit displayed by the dice is done using a truthtable.
Adapted from Simon Monk's "30 Arduino Projects for the Evil Genius".
Cite As
Techsource Technical Team (2024). Electronic Dice (https://www.mathworks.com/matlabcentral/fileexchange/51709-electronic-dice), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Updated description. |