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: C12832 FXOS8700Q mbed-rtos mbed
main.h@0:9ec880239b3c, 2016-02-15 (annotated)
- Committer:
- co838_gtvl2
- Date:
- Mon Feb 15 18:18:16 2016 +0000
- Revision:
- 0:9ec880239b3c
- Child:
- 1:c6734b909bf0
Basic game, you can move using accelerometer and avoid asteroids coming from both left and right.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
co838_gtvl2 | 0:9ec880239b3c | 1 | #ifndef _MAIN_H_ |
co838_gtvl2 | 0:9ec880239b3c | 2 | # define _MAIN_H_ |
co838_gtvl2 | 0:9ec880239b3c | 3 | |
co838_gtvl2 | 0:9ec880239b3c | 4 | # include "mbed.h" |
co838_gtvl2 | 0:9ec880239b3c | 5 | # include "rtos.h" |
co838_gtvl2 | 0:9ec880239b3c | 6 | # include "C12832.h" |
co838_gtvl2 | 0:9ec880239b3c | 7 | # include "FXOS8700Q.h" |
co838_gtvl2 | 0:9ec880239b3c | 8 | |
co838_gtvl2 | 0:9ec880239b3c | 9 | # define DISPLAY_X 127 |
co838_gtvl2 | 0:9ec880239b3c | 10 | # define DISPLAY_Y 31 |
co838_gtvl2 | 0:9ec880239b3c | 11 | # define DELTA_MOVE 1000.0f |
co838_gtvl2 | 0:9ec880239b3c | 12 | # define DELTA_TIME 100 |
co838_gtvl2 | 0:9ec880239b3c | 13 | # define START_THREAD 999 |
co838_gtvl2 | 0:9ec880239b3c | 14 | |
co838_gtvl2 | 0:9ec880239b3c | 15 | // # define _DEBUG |
co838_gtvl2 | 0:9ec880239b3c | 16 | # undef _DEBUG |
co838_gtvl2 | 0:9ec880239b3c | 17 | |
co838_gtvl2 | 0:9ec880239b3c | 18 | #endif /* _MAIN_H_ */ |