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.
functions/functions.h@2:430dcf420840, 2020-06-05 (annotated)
- Committer:
- jahanzebkhan
- Date:
- Fri Jun 05 22:51:49 2020 +0000
- Revision:
- 2:430dcf420840
Final Submission. I have read and agreed with Statement of Academic integrity.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jahanzebkhan | 2:430dcf420840 | 1 | #ifndef FUNCTIONS_H |
jahanzebkhan | 2:430dcf420840 | 2 | #define FUNCTIONS_H |
jahanzebkhan | 2:430dcf420840 | 3 | |
jahanzebkhan | 2:430dcf420840 | 4 | #include "mbed.h" |
jahanzebkhan | 2:430dcf420840 | 5 | #include "Gamepad.h" |
jahanzebkhan | 2:430dcf420840 | 6 | #include "N5110.h" |
jahanzebkhan | 2:430dcf420840 | 7 | #include "body.h" |
jahanzebkhan | 2:430dcf420840 | 8 | #include "food.h" |
jahanzebkhan | 2:430dcf420840 | 9 | |
jahanzebkhan | 2:430dcf420840 | 10 | class Functions |
jahanzebkhan | 2:430dcf420840 | 11 | { |
jahanzebkhan | 2:430dcf420840 | 12 | |
jahanzebkhan | 2:430dcf420840 | 13 | public: |
jahanzebkhan | 2:430dcf420840 | 14 | /**constructor*/ |
jahanzebkhan | 2:430dcf420840 | 15 | Functions(); |
jahanzebkhan | 2:430dcf420840 | 16 | |
jahanzebkhan | 2:430dcf420840 | 17 | /**destructor*/ |
jahanzebkhan | 2:430dcf420840 | 18 | ~Functions(); |
jahanzebkhan | 2:430dcf420840 | 19 | |
jahanzebkhan | 2:430dcf420840 | 20 | void output_score(N5110 &lcd, Gamepad &pad, Body &body, Food &food); |
jahanzebkhan | 2:430dcf420840 | 21 | |
jahanzebkhan | 2:430dcf420840 | 22 | }; |
jahanzebkhan | 2:430dcf420840 | 23 | |
jahanzebkhan | 2:430dcf420840 | 24 | #endif |
jahanzebkhan | 2:430dcf420840 | 25 |