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.
Dependencies: mbed motor MUSIC board Travel
Diff: main.cpp
- 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();
- }
}
+}