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
interface.h@1:83459533ff72, 2017-05-01 (annotated)
- Committer:
- weixitao
- Date:
- Mon May 01 15:20:26 2017 +0000
- Revision:
- 1:83459533ff72
until welcome
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| weixitao | 1:83459533ff72 | 1 | #ifndef INTERFACE_H |
| weixitao | 1:83459533ff72 | 2 | #define INTERFACE_H |
| weixitao | 1:83459533ff72 | 3 | |
| weixitao | 1:83459533ff72 | 4 | #include "mbed.h" |
| weixitao | 1:83459533ff72 | 5 | #include "N5110.h" |
| weixitao | 1:83459533ff72 | 6 | #include "Gamepad.h" |
| weixitao | 1:83459533ff72 | 7 | |
| weixitao | 1:83459533ff72 | 8 | class interface |
| weixitao | 1:83459533ff72 | 9 | { |
| weixitao | 1:83459533ff72 | 10 | public : |
| weixitao | 1:83459533ff72 | 11 | |
| weixitao | 1:83459533ff72 | 12 | void A(); |
| weixitao | 1:83459533ff72 | 13 | void B(); |
| weixitao | 1:83459533ff72 | 14 | void X(); |
| weixitao | 1:83459533ff72 | 15 | void Y(); |
| weixitao | 1:83459533ff72 | 16 | void border(); |
| weixitao | 1:83459533ff72 | 17 | |
| weixitao | 1:83459533ff72 | 18 | private: |
| weixitao | 1:83459533ff72 | 19 | |
| weixitao | 1:83459533ff72 | 20 | int x; |
| weixitao | 1:83459533ff72 | 21 | int y; |
| weixitao | 1:83459533ff72 | 22 | |
| weixitao | 1:83459533ff72 | 23 | |
| weixitao | 1:83459533ff72 | 24 | }; |
| weixitao | 1:83459533ff72 | 25 | |
| weixitao | 1:83459533ff72 | 26 | |
| weixitao | 1:83459533ff72 | 27 | #endif |