AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Airsofttimer.h@27:f29805113454, 2017-02-09 (annotated)
- Committer:
- sillevl
- Date:
- Thu Feb 09 12:28:56 2017 +0000
- Revision:
- 27:f29805113454
- Parent:
- 13:ece97a1108cc
ARCHIVE WIP, not working (crashes, cause unknown)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 0:4a0929f1b4fd | 1 | |
sillevl | 0:4a0929f1b4fd | 2 | |
sillevl | 4:2c91c9eccf3a | 3 | #ifndef AIRSOFTTIMER_H |
sillevl | 4:2c91c9eccf3a | 4 | #define AIRSOFTTIMER_H |
sillevl | 0:4a0929f1b4fd | 5 | |
sillevl | 0:4a0929f1b4fd | 6 | #include "mbed.h" |
sillevl | 5:be598835bab0 | 7 | #include "board/Board.h" |
sillevl | 13:ece97a1108cc | 8 | #include "games/GameFactory.h" |
sillevl | 0:4a0929f1b4fd | 9 | |
sillevl | 0:4a0929f1b4fd | 10 | class Airsofttimer |
sillevl | 0:4a0929f1b4fd | 11 | { |
sillevl | 4:2c91c9eccf3a | 12 | static const char* LOGO[]; |
sillevl | 5:be598835bab0 | 13 | |
sillevl | 4:2c91c9eccf3a | 14 | public: |
sillevl | 4:2c91c9eccf3a | 15 | Airsofttimer(Pinouts pinouts); |
sillevl | 4:2c91c9eccf3a | 16 | |
sillevl | 5:be598835bab0 | 17 | private: |
sillevl | 5:be598835bab0 | 18 | Board* board; |
sillevl | 4:2c91c9eccf3a | 19 | |
sillevl | 8:e9fb60f5a56f | 20 | void init(); |
sillevl | 9:b587bae22691 | 21 | void start(); |
sillevl | 9:b587bae22691 | 22 | int select_game(); |
sillevl | 0:4a0929f1b4fd | 23 | |
sillevl | 0:4a0929f1b4fd | 24 | }; |
sillevl | 0:4a0929f1b4fd | 25 | |
sillevl | 0:4a0929f1b4fd | 26 | #endif |