Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! Written by Kevin (KTOWN) Townsend for ...
When you press the button, the LED matrix displays a dice roll animation and stops on a random number between 1 and 6. Built using SPI communication with the MAX7219 driver.