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.
Revision 6:c23ecdd1a581, committed 2019-11-12
- Comitter:
- Mikebob
- Date:
- Tue Nov 12 12:40:11 2019 +0000
- Parent:
- 5:fdc550ee3b6e
- Commit message:
- v7
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);