Evan Zhang / Mbed 2 deprecated StepperMotorSong4180

Dependencies:   mbed mbed-rtos SDFileSystem11

Revision:
9:3e69e012c73a
Parent:
8:202142fffa4e
Child:
10:a7cd50115e8e
--- a/main.cpp	Mon May 03 17:27:51 2021 +0000
+++ b/main.cpp	Mon May 03 17:42:27 2021 +0000
@@ -110,7 +110,7 @@
             }
         }
         }
-    Thread::wait(500);
+    Thread::wait(200);
     }
 }
 
@@ -209,7 +209,7 @@
      motor1timer.start(); //Start the timer
      led3 = 1;
     while (!feof(fpn)){                        // while not end of file, keep goig
-        while(pause){
+        while(!pause){
             Thread::wait(100);    
         }
         while(!holdNotes) { //Make sure we haven't completed the note section yet
@@ -328,5 +328,5 @@
     //while(bluehelp() != 5){
     //    Thread::wait(100);
     //    }
-    //goto start;
+    goto start;
 }
\ No newline at end of file