Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: manualMode.h
- Revision:
 - 27:88863fab46c0
 - Parent:
 - 26:760f1bce8214
 - Child:
 - 30:cd344beb415d
 
diff -r 760f1bce8214 -r 88863fab46c0 manualMode.h
--- a/manualMode.h	Sun Nov 08 10:56:27 2015 +0000
+++ b/manualMode.h	Mon Nov 09 11:33:13 2015 +0000
@@ -51,7 +51,7 @@
             sendData(1,5);
         }
     }
-    /*else if(b==1){
+    else if(b==1){
         if(edge1){
             edge1=0;
             if(stateL!=1) stateL--;
@@ -78,8 +78,8 @@
             if(stateR!=92) stateR++;
             sendData(5,stateR);
         }
-    }*/
-    if(b==2){
+    }
+    /*if(b==2){
         if(edge2){
             edge2=0;
             targ_sita+=PI/4;
@@ -90,7 +90,7 @@
             edge3=0;
             targ_sita-=PI/4;
         }
-    }
+    }*/
     if(b!=7) edge7=1;
     if(b!=1) edge1=1;
     if(b!=2) edge2=1;