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
help/help.h@23:f433f8d8698e, 2018-04-30 (annotated)
- Committer:
- RickYu
- Date:
- Mon Apr 30 01:14:21 2018 +0000
- Revision:
- 23:f433f8d8698e
- Parent:
- 22:c1e1283c6356
- Child:
- 25:1d91ab97d86a
- Child:
- 26:6a1476a0bba9
draw a pig peggy
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| RickYu | 20:a3fd428fb4f4 | 1 | #ifndef HELP_H |
| RickYu | 19:362ad1cd6d4a | 2 | #define HELP_H |
| RickYu | 19:362ad1cd6d4a | 3 | |
| RickYu | 19:362ad1cd6d4a | 4 | #include "mbed.h" |
| RickYu | 19:362ad1cd6d4a | 5 | #include "N5110.h" |
| RickYu | 19:362ad1cd6d4a | 6 | #include "Gamepad.h" |
| RickYu | 19:362ad1cd6d4a | 7 | |
| RickYu | 19:362ad1cd6d4a | 8 | |
| RickYu | 19:362ad1cd6d4a | 9 | class help{ |
| RickYu | 19:362ad1cd6d4a | 10 | |
| RickYu | 19:362ad1cd6d4a | 11 | public: |
| RickYu | 19:362ad1cd6d4a | 12 | help(); |
| RickYu | 19:362ad1cd6d4a | 13 | ~help(); |
| RickYu | 19:362ad1cd6d4a | 14 | |
| RickYu | 19:362ad1cd6d4a | 15 | void welcome(Gamepad &pad,N5110 &lcd); |
| RickYu | 19:362ad1cd6d4a | 16 | void draw(N5110 &lcd); |
| RickYu | 20:a3fd428fb4f4 | 17 | void update(Direction d,float mag,Gamepad &pad,N5110 &lcd); |
| RickYu | 20:a3fd428fb4f4 | 18 | void read_input(Gamepad &pad); |
| RickYu | 21:f48e269bafa4 | 19 | void statement1(N5110 &lcd); |
| RickYu | 21:f48e269bafa4 | 20 | void statement2(N5110 &lcd); |
| RickYu | 21:f48e269bafa4 | 21 | void statement3(N5110 &lcd); |
| RickYu | 23:f433f8d8698e | 22 | void statement4(N5110 &lcd); |
| RickYu | 21:f48e269bafa4 | 23 | |
| RickYu | 22:c1e1283c6356 | 24 | void page_on(Gamepad &pad,N5110 &lcd); |
| RickYu | 22:c1e1283c6356 | 25 | void page_back(Gamepad &pad,N5110 &lcd); |
| RickYu | 22:c1e1283c6356 | 26 | void model_1(Gamepad &pad,N5110 &lcd); |
| RickYu | 22:c1e1283c6356 | 27 | void model_2(Gamepad &pad,N5110 &lcd); |
| RickYu | 22:c1e1283c6356 | 28 | |
| RickYu | 19:362ad1cd6d4a | 29 | |
| RickYu | 19:362ad1cd6d4a | 30 | |
| RickYu | 19:362ad1cd6d4a | 31 | |
| RickYu | 19:362ad1cd6d4a | 32 | private: |
| RickYu | 19:362ad1cd6d4a | 33 | |
| RickYu | 19:362ad1cd6d4a | 34 | int arrow_x; |
| RickYu | 19:362ad1cd6d4a | 35 | int arrow_y; |
| RickYu | 20:a3fd428fb4f4 | 36 | int arrow_speed; |
| RickYu | 22:c1e1283c6356 | 37 | int choice; |
| RickYu | 22:c1e1283c6356 | 38 | int page; |
| RickYu | 19:362ad1cd6d4a | 39 | }; |
| RickYu | 19:362ad1cd6d4a | 40 | |
| RickYu | 19:362ad1cd6d4a | 41 | |
| RickYu | 19:362ad1cd6d4a | 42 | #endif |