ROCO 104 / Mbed 2 deprecated ROCO104_7d5m1

Dependencies:   mbed motor MUSIC board Travel

Files at this revision

API Documentation at this revision

Comitter:
james_plym
Date:
Thu May 14 16:41:15 2020 +0000
Parent:
9:681280a7a416
Commit message:
finished

Changed in this revision

Travel.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Travel.lib	Wed May 13 17:09:57 2020 +0000
+++ b/Travel.lib	Thu May 14 16:41:15 2020 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/teams/ROCO-104/code/Travel/#113068414342
+https://os.mbed.com/teams/ROCO-104/code/Travel/#b2a1806c786f
--- 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();
-        }
     }
+}