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:
- 2:4ccdc62022c2
- Parent:
- 1:1adf5dfcc7bb
- Child:
- 3:c0f40a94fffa
diff -r 1adf5dfcc7bb -r 4ccdc62022c2 main.cpp
--- a/main.cpp Tue Apr 10 12:24:23 2018 +0000
+++ b/main.cpp Tue Apr 10 14:26:08 2018 +0000
@@ -98,6 +98,7 @@
controller.setDesiredSpeedLeft(50.0f);
controller.setDesiredSpeedRight(-50.0f);
+ enableMotorDriver = 1;
}
controller.setDesiredSpeedLeft(0.0f);
@@ -126,6 +127,7 @@
controller.setDesiredSpeedLeft(50.0f);
controller.setDesiredSpeedRight(50.0f);
+ enableMotorDriver = 1;
}
controller.setDesiredSpeedLeft(0.0f);
