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: mbed
Menu/Menu.h@2:7fa08670b1fc, 2020-05-26 (annotated)
- Committer:
- ale_carb0ni
- Date:
- Tue May 26 16:26:12 2020 +0000
- Revision:
- 2:7fa08670b1fc
- Child:
- 6:a2c72def99f9
"working" classes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ale_carb0ni | 2:7fa08670b1fc | 1 | #ifndef MENU_H |
ale_carb0ni | 2:7fa08670b1fc | 2 | #define MENU_H |
ale_carb0ni | 2:7fa08670b1fc | 3 | |
ale_carb0ni | 2:7fa08670b1fc | 4 | #include "mbed.h" |
ale_carb0ni | 2:7fa08670b1fc | 5 | #include "Gamepad.h" |
ale_carb0ni | 2:7fa08670b1fc | 6 | #include "N5110.h" |
ale_carb0ni | 2:7fa08670b1fc | 7 | |
ale_carb0ni | 2:7fa08670b1fc | 8 | class Menu |
ale_carb0ni | 2:7fa08670b1fc | 9 | { |
ale_carb0ni | 2:7fa08670b1fc | 10 | |
ale_carb0ni | 2:7fa08670b1fc | 11 | private: |
ale_carb0ni | 2:7fa08670b1fc | 12 | |
ale_carb0ni | 2:7fa08670b1fc | 13 | N5110 _lcd; |
ale_carb0ni | 2:7fa08670b1fc | 14 | Gamepad _pad; |
ale_carb0ni | 2:7fa08670b1fc | 15 | |
ale_carb0ni | 2:7fa08670b1fc | 16 | public: |
ale_carb0ni | 2:7fa08670b1fc | 17 | |
ale_carb0ni | 2:7fa08670b1fc | 18 | Menu(N5110 &lcd,Gamepad &pad); |
ale_carb0ni | 2:7fa08670b1fc | 19 | |
ale_carb0ni | 2:7fa08670b1fc | 20 | void initscreen(); |
ale_carb0ni | 2:7fa08670b1fc | 21 | void menu_screen(); |
ale_carb0ni | 2:7fa08670b1fc | 22 | void arrow(); |
ale_carb0ni | 2:7fa08670b1fc | 23 | void help(); |
ale_carb0ni | 2:7fa08670b1fc | 24 | }; |
ale_carb0ni | 2:7fa08670b1fc | 25 | |
ale_carb0ni | 2:7fa08670b1fc | 26 | #endif |