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".
Techsource Technical Team (2020). Electronic Dice (https://www.mathworks.com/matlabcentral/fileexchange/51709-electronic-dice), MATLAB Central File Exchange. Retrieved .