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:
- 8:02ed55a576e0
- Parent:
- 7:4aa57a35ec0b
- Child:
- 13:57d8e360e9aa
- Child:
- 22:4127fcf8c7d7
--- a/manualMode.h	Sun Nov 01 09:50:46 2015 +0000
+++ b/manualMode.h	Sun Nov 01 10:16:40 2015 +0000
@@ -88,14 +88,14 @@
     else if(b==5){
         if(edge5){
             edge5=0;
-            /*resetSwingSpeed = 1;
-            interruptSwingSpeed.attach(&countSwingSpeed, 0.05);*/
+            resetSwingSpeed = 1;
+            interruptSwingSpeed.attach(&countSwingSpeed, 0.05);
 //            targSwingRadVelocity = swingspeed;
-            for(float i=0.0;i<0.5;i+=0.01){
+            /*for(float i=0.0;i<0.5;i+=0.01){
                 Motor_swing=i;
                 wait(0.05);
             }
-            Motor_swing = 0.5;
+            Motor_swing = 0.5;*/
         }
     }
     else if(b==8){