Basic game using accelerometer and LCD screen. You can move and dodge asteroids coming from both left and right. There is no scoring at the moment.
Dependencies: C12832 FXOS8700Q mbed-rtos mbed
Diff: main.h
- Revision:
- 1:c6734b909bf0
- Parent:
- 0:9ec880239b3c
--- a/main.h Mon Feb 15 18:18:16 2016 +0000 +++ b/main.h Tue Feb 16 22:25:42 2016 +0000 @@ -11,8 +11,14 @@ # define DELTA_MOVE 1000.0f # define DELTA_TIME 100 # define START_THREAD 999 +# define MAX_ASTEROID_NBS 50 +# define GENERATION_CYCLES 5 // # define _DEBUG # undef _DEBUG +# if defined _DEBUG +extern Serial host; +# endif + #endif /* _MAIN_H_ */ \ No newline at end of file