ROCO 104 / Mbed 2 deprecated ROCO104_7d5m1

Dependencies:   mbed motor MUSIC board Travel

Revision:
10:c8b9362f90d5
Parent:
9:681280a7a416
--- a/main.cpp	Wed May 13 17:09:57 2020 +0000
+++ b/main.cpp	Thu May 14 16:41:15 2020 +0000
@@ -43,11 +43,8 @@
 
 //Variable 'duty' for programmer to use to vary speed as required set here to #define compiler constant see above
 float duty=DUTY;
-//
 
-
-    
-  /*  
+  /*
 // This is the fwdBack function with acceleration. 
 void fwdBack() {
 
@@ -133,8 +130,8 @@
     while(on == 1){
         fwdBack();
         turn();
-        }
     }
+}