Railway Challenge / Mbed 2 deprecated challenge-ChaiUpdated

Dependencies:   mbed millis

Revision:
26:6275acef6bfd
Parent:
25:1e42ee248b89
Child:
27:5f801d4ca461
diff -r 1e42ee248b89 -r 6275acef6bfd main.cpp
--- a/main.cpp	Mon Jun 13 09:36:41 2022 +0000
+++ b/main.cpp	Mon Jun 13 10:01:29 2022 +0000
@@ -70,9 +70,9 @@
         //motor1.setPark();
         motor1.brake(brakeRate);
       }
-      else {
-        motor1.setForward();
-      }
+      //else {
+        //motor1.setForward();
+      //}
     }
     else {  // MECHANICAL BRAKING
       switch (brakeRate) {