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
ModeB/ModeB.h@0:15b74f0f8c7f, 2019-05-08 (annotated)
- Committer:
- el17mtu
- Date:
- Wed May 08 14:50:07 2019 +0000
- Revision:
- 0:15b74f0f8c7f
- Child:
- 18:59befe1eaa56
draw random shape
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el17mtu | 0:15b74f0f8c7f | 1 | #ifndef MODEB_H |
el17mtu | 0:15b74f0f8c7f | 2 | #define MODEB_H |
el17mtu | 0:15b74f0f8c7f | 3 | |
el17mtu | 0:15b74f0f8c7f | 4 | #include "mbed.h" |
el17mtu | 0:15b74f0f8c7f | 5 | #include "main.h" |
el17mtu | 0:15b74f0f8c7f | 6 | #include "N5110.h" |
el17mtu | 0:15b74f0f8c7f | 7 | #include "Gamepad.h" |
el17mtu | 0:15b74f0f8c7f | 8 | |
el17mtu | 0:15b74f0f8c7f | 9 | // function prototypes |
el17mtu | 0:15b74f0f8c7f | 10 | void mode_B(); |
el17mtu | 0:15b74f0f8c7f | 11 | |
el17mtu | 0:15b74f0f8c7f | 12 | |
el17mtu | 0:15b74f0f8c7f | 13 | class ModeB |
el17mtu | 0:15b74f0f8c7f | 14 | { |
el17mtu | 0:15b74f0f8c7f | 15 | |
el17mtu | 0:15b74f0f8c7f | 16 | public: |
el17mtu | 0:15b74f0f8c7f | 17 | ModeB(); |
el17mtu | 0:15b74f0f8c7f | 18 | ~ModeB(); |
el17mtu | 0:15b74f0f8c7f | 19 | void draw(N5110 &lcd); |
el17mtu | 0:15b74f0f8c7f | 20 | void screen(N5110 &lcd); |
el17mtu | 0:15b74f0f8c7f | 21 | |
el17mtu | 0:15b74f0f8c7f | 22 | }; |
el17mtu | 0:15b74f0f8c7f | 23 | #endif |