![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
Diff: GameEngine/RocketRacer.h
- Revision:
- 35:4c9b39c6fd72
- Parent:
- 31:4d4a9d78cae5
- Child:
- 36:30dde2e7aa11
--- a/GameEngine/RocketRacer.h Fri May 03 00:38:54 2019 +0000 +++ b/GameEngine/RocketRacer.h Fri May 03 11:00:46 2019 +0000 @@ -42,6 +42,10 @@ // used in the gameplay Rocket_Racer.Main_Game_Display(lcd); +// this method checks the accelerometer state +// if it rolled right prints "its right" else if it rolled +// left prints "its left" else prints "centre" + accelerometer_position(pad); // this method checks the joystick position // if it's right prints "its right" else if its