Skip to content

sakana280/M5AtomDice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

An electronic dice for the M5Stack Atom Matrix, less likely to roll off the table compared with a regular analog cube dice. Press the screen or shake the unit to "roll" the dice.

On first start, the dice operates in "demo" mode, counting 1-6 on a loop. Demo mode finishes after the first "roll". During a roll, the display rapidly cycles through numbers 1-6. When rolling stops (screen press released or unit stopped shaking), a random number is displayed. The number rolled remains on screen indefinitely until the next roll.

Build

Use Visual Studio Code with the PlatformIO extension to build and upload this program.

Acknowledgements

Code for the IMU (MPU6886) has been modified from M5Stack's M5Atom library MIT License Copyright (c) 2020 M5Stack

About

An electronic dice for the M5Stack Atom Matrix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published