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
Diff: Control/drivecontrol.h
- Revision:
- 7:7215adbae3da
- Parent:
- 6:1bcfda49e146
- Child:
- 8:4a32fc9ee939
--- a/Control/drivecontrol.h Sun May 14 03:07:09 2017 +0000
+++ b/Control/drivecontrol.h Sun May 14 19:57:34 2017 +0000
@@ -23,7 +23,7 @@
// Stops both motors. Assume no coasting.
void stop();
- void drive_one_forward();
+ void drive_forward();
void turn();
@@ -31,6 +31,8 @@
void turn_right();
+ void turn_around();
+
void drive(float speed);
bool has_front_wall();