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.
Diff: main.cpp
- Revision:
- 6:c23ecdd1a581
- Parent:
- 5:fdc550ee3b6e
diff -r fdc550ee3b6e -r c23ecdd1a581 main.cpp
--- a/main.cpp Tue Nov 05 14:59:44 2019 +0000
+++ b/main.cpp Tue Nov 12 12:40:11 2019 +0000
@@ -1,5 +1,5 @@
/*
- Version 6 – All edit
+ Version 7 – Mike edit
*/
#include "mbed.h"
@@ -64,9 +64,9 @@
PWMA.write(dutyA); //Set duty cycle y
PWMB.write(dutyB); //Set duty cycle y
- wait(0.6);
+ wait(1.1);
PWMB.write(0.2f); //turn 31deg
- wait(1.6);
+ wait(1.3);
PWMA.write(dutyA); //Set duty cycle hyp
PWMB.write(dutyB); //Set duty cycle hyp
wait(4.4);
@@ -74,7 +74,7 @@
wait(1.1);
PWMA.write(dutyA); //Set duty cycle x
PWMB.write(dutyB); //Set duty cycle x
- wait(2.3);
+ wait(2.4);
PWMB.write(0.2f); //turn 90deg
wait(0.7);