Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
35:6ef5fbc45672
Parent:
34:4ad11cda1eca
Child:
37:38a4ad49343e
--- a/robot.cpp	Sun Mar 23 08:24:07 2014 +0000
+++ b/robot.cpp	Sun Mar 23 22:03:26 2014 +0000
@@ -14,8 +14,10 @@
     x=y=rot=0;
     
     //set our set point in memory to match the current set point of the encoders
+    //wait(0.5);
     const int *referenceCounts = bigenc.getReferences();
     motors.setSetPoint(referenceCounts[1],referenceCounts[0]);
+    //DBGPRINT("__%d_%d__",referenceCounts[1],referenceCounts[0]);
     
     //storage for shape positions
     circleX=circleY=rectX=rectY=rectRot=triX=triY=triRot=0;