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:
- 23:26f9483439fe
- Parent:
- 21:bdf8ac5c200c
- Child:
- 24:6d2573d6f2b6
--- a/manualMode.h	Fri Nov 06 11:35:39 2015 +0000
+++ b/manualMode.h	Sat Nov 07 01:03:46 2015 +0000
@@ -86,13 +86,13 @@
     else if(b==5){
         if(edge5){
             edge5=0;
-            resetSwingSpeed = 1;
-            interruptSwingSpeed.attach(&countSwingSpeed, 0.05);
-            /*for(float i=0.0;i<0.6;i+=0.01){
+            /*resetSwingSpeed = 1;
+            interruptSwingSpeed.attach(&countSwingSpeed, 0.05);*/
+            for(float i=0.0;i<0.6;i+=0.01){
                 Motor_swing=i;
                 wait(0.001);
             }
-            Motor_swing = 0.6;*/
+            Motor_swing = 0.6;
         }
     }
     else if(b==8){