Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE PinDetect mbed
die.h@0:09b7e6aa75a9, 2021-11-30 (annotated)
- Committer:
- jwalker366
- Date:
- Tue Nov 30 18:58:54 2021 +0000
- Revision:
- 0:09b7e6aa75a9
for sub;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jwalker366 | 0:09b7e6aa75a9 | 1 | #ifndef die_H |
jwalker366 | 0:09b7e6aa75a9 | 2 | #define die_H |
jwalker366 | 0:09b7e6aa75a9 | 3 | #include "MMA8452.h" |
jwalker366 | 0:09b7e6aa75a9 | 4 | #include "Speaker.h" |
jwalker366 | 0:09b7e6aa75a9 | 5 | #include "PinDetect.h" |
jwalker366 | 0:09b7e6aa75a9 | 6 | #include "farkel_class.h" |
jwalker366 | 0:09b7e6aa75a9 | 7 | |
jwalker366 | 0:09b7e6aa75a9 | 8 | |
jwalker366 | 0:09b7e6aa75a9 | 9 | |
jwalker366 | 0:09b7e6aa75a9 | 10 | class Dice{ |
jwalker366 | 0:09b7e6aa75a9 | 11 | public: |
jwalker366 | 0:09b7e6aa75a9 | 12 | Dice(); |
jwalker366 | 0:09b7e6aa75a9 | 13 | Dice(int); |
jwalker366 | 0:09b7e6aa75a9 | 14 | int shakeDetect(int flag); |
jwalker366 | 0:09b7e6aa75a9 | 15 | |
jwalker366 | 0:09b7e6aa75a9 | 16 | private: |
jwalker366 | 0:09b7e6aa75a9 | 17 | int id; |
jwalker366 | 0:09b7e6aa75a9 | 18 | }; |
jwalker366 | 0:09b7e6aa75a9 | 19 | |
jwalker366 | 0:09b7e6aa75a9 | 20 | #endif |