final

Dependencies:   Encoder HIDScope MODSERIAL TouchButton mbed-dsp mbed

Fork of Robot1_11 by BMT M9 Groep01

Revision:
56:29c31b83c4ce
Parent:
55:4eb229a35859
Child:
57:4b682f92ab51
--- a/main.cpp	Mon Nov 03 15:09:53 2014 +0000
+++ b/main.cpp	Mon Nov 03 15:20:07 2014 +0000
@@ -338,7 +338,9 @@
             rood=0;
 
             //*** INPUT MOTOR 2 ***
-            positie=yT1+yT2;
+            positie=yT1+yT2; */
+
+            positie=2;
 
             //controle positie op scherm
             if (positie==0) {
@@ -359,7 +361,7 @@
             looptimer2.detach();
             pc.printf("Detach Motor 1\n");
 
-            //------------------------------------------------------------------------------------------------------------------------------- eind aansturing motor 2
+    //        ------------------------------------------------------------------------------------------------------------------------------- eind aansturing motor 2
             wait(2);
             /* Ticker log_timerB;
 
@@ -403,7 +405,7 @@
             //*** INPUT MOTOR 1 ***
             snelheidsstand=yB1+yB2+yB3; */
 
-            snelheidsstand=3;
+            /*snelheidsstand=3;
 
             //controle snelheidsstand op scherm
             if (snelheidsstand==0) {
@@ -442,6 +444,7 @@
             pidpositie(0,0,true);
             pwm_motor1.write(0);
             toestand = WACHTEN; //hierheen verplaatst vanaf motor1aansturingdeel2. Belangrijk!! niet weghalen!!
+            */
 
             myled1=1;
             myled2=1;