Serpentine / Mbed 2 deprecated serpentine_snakecontroller_final

Dependencies:   MMA8451Q TSI mbed

Fork of snakecontroller by Serpentine

Revision:
7:292f2de3c013
Parent:
6:44bac63d4d66
Child:
8:93190b81ceca
--- a/main.cpp	Thu Jun 09 14:34:08 2016 +0000
+++ b/main.cpp	Thu Jun 09 14:38:05 2016 +0000
@@ -15,9 +15,6 @@
 DigitalOut backwardhigh(PTA2);                     //Test LED for backward
 DigitalOut backwardlow(PTD4);
 
-float accX=acc.getAccX();                           //Measure acceleration in X direction
-float accY=acc.getAccY();                           //Measure acceleration in Y direction
-
 int Direction;                                      //2 bit number to describe direction 0 forward assigned CW
 
 bool right;                                         //Right or left? right = 1