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: TSI USBDevice mbed-dev
Fork of SmartWheels by
Diff: main.cpp
- Revision:
- 66:c9b64f5337cc
- Parent:
- 65:295c222fdf88
- Child:
- 67:1b5c8add3d01
- Child:
- 68:b15cab740371
--- a/main.cpp Wed Apr 12 22:16:40 2017 +0000
+++ b/main.cpp Wed Apr 12 22:26:26 2017 +0000
@@ -90,6 +90,9 @@
{
ardu_utft_print("F", 230, 100);
servo_set_angle(0.0f);
+ motor_set_right_speed(-1.0f);
+ motor_set_left_speed(-1.0f);
+ wait(0.5f);
motor_set_right_speed(0.0f);
motor_set_left_speed(0.0f);
return 0;
