Since our code is based on lab 6 code and we also used the joystick to test movement initially. So joystick still existed tough we haven't use that eventually
Fork of Joystick_skeleton by
Diff: Joystick.h
- Revision:
- 1:c42a77267f7b
- Parent:
- 0:46523bf02e61
- Child:
- 2:893fd930d3fb
--- a/Joystick.h Tue Oct 18 20:26:41 2016 +0000 +++ b/Joystick.h Thu Oct 20 22:16:14 2016 +0000 @@ -3,7 +3,7 @@ #include "mbed.h" -#define DEAD_ZONE 2 //size of the dead zone ...-3,-2,-1 [-2...0...+2] 1,2,3... +#define DEAD_ZONE 4 //size of the dead zone ...-3,-2,-1 [-2...0...+2] 1,2,3... class Joystick {