Final Version of: THE ORGINAL ISHTENDO GAMING SYSTEM including modes such as: Snake Etch-a-Sketch Temperature Sensor Also contains a hidden mini game.. Will you be the one to unlock it .... Ihsian Mulla (el14imfm@leeds.ac.uk) 200839613 May 2016
Dependencies: FXOS8700Q Buzzer ishtendo_vI N5110 SDFileSystem TMP102 mbed
GameModeFunctions/TempFunctions/TempFunctions.h@0:0fbe9794df10, 2016-05-04 (annotated)
- Committer:
- Ihsianmulla
- Date:
- Wed May 04 13:06:09 2016 +0000
- Revision:
- 0:0fbe9794df10
Final Version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Ihsianmulla | 0:0fbe9794df10 | 1 | /** |
Ihsianmulla | 0:0fbe9794df10 | 2 | @file TempFunctions.h |
Ihsianmulla | 0:0fbe9794df10 | 3 | @brief header file for temperature functions |
Ihsianmulla | 0:0fbe9794df10 | 4 | */ |
Ihsianmulla | 0:0fbe9794df10 | 5 | #ifndef TEMPFUNCTIONS_H |
Ihsianmulla | 0:0fbe9794df10 | 6 | |
Ihsianmulla | 0:0fbe9794df10 | 7 | #include "mbed.h" |
Ihsianmulla | 0:0fbe9794df10 | 8 | #include "N5110.h" |
Ihsianmulla | 0:0fbe9794df10 | 9 | /** |
Ihsianmulla | 0:0fbe9794df10 | 10 | @author Ihsian Mulla |
Ihsianmulla | 0:0fbe9794df10 | 11 | @date April 2016 |
Ihsianmulla | 0:0fbe9794df10 | 12 | */ |
Ihsianmulla | 0:0fbe9794df10 | 13 | |
Ihsianmulla | 0:0fbe9794df10 | 14 | class TempFunctions |
Ihsianmulla | 0:0fbe9794df10 | 15 | { |
Ihsianmulla | 0:0fbe9794df10 | 16 | public: |
Ihsianmulla | 0:0fbe9794df10 | 17 | /** contains the rule set for snake stating global variables and functions for play |
Ihsianmulla | 0:0fbe9794df10 | 18 | */ |
Ihsianmulla | 0:0fbe9794df10 | 19 | void timer_isr(); |
Ihsianmulla | 0:0fbe9794df10 | 20 | /**Allows for the pause of the game during snake play |
Ihsianmulla | 0:0fbe9794df10 | 21 | */ |
Ihsianmulla | 0:0fbe9794df10 | 22 | void error(); |
Ihsianmulla | 0:0fbe9794df10 | 23 | /**Allows for the pause of the game during snake play |
Ihsianmulla | 0:0fbe9794df10 | 24 | */ |
Ihsianmulla | 0:0fbe9794df10 | 25 | void init_serial(); |
Ihsianmulla | 0:0fbe9794df10 | 26 | /**Allows for the pause of the game during snake play |
Ihsianmulla | 0:0fbe9794df10 | 27 | */ |
Ihsianmulla | 0:0fbe9794df10 | 28 | void init_K64F(); |
Ihsianmulla | 0:0fbe9794df10 | 29 | /**Allows for the pause of the game during snake play |
Ihsianmulla | 0:0fbe9794df10 | 30 | */ |
Ihsianmulla | 0:0fbe9794df10 | 31 | void Temp(); |
Ihsianmulla | 0:0fbe9794df10 | 32 | }; |
Ihsianmulla | 0:0fbe9794df10 | 33 | |
Ihsianmulla | 0:0fbe9794df10 | 34 | #endif |