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: main.cpp
- Revision:
- 8:4a32fc9ee939
- Parent:
- 7:7215adbae3da
- Child:
- 9:65a9aad9a5b5
--- a/main.cpp Sun May 14 19:57:34 2017 +0000 +++ b/main.cpp Wed May 17 00:07:32 2017 +0000 @@ -47,8 +47,10 @@ while(1) { setup(); led_1 = 1; + driver->getEncoder(); + wait(1); //if (!driver->has_front_wall()) { - driver->drive_forward(); + //driver->drive_forward(); //} /* else if (!driver->has_right_wall) { @@ -62,7 +64,7 @@ // driver->turn_around(); }*/ - wait_ms(1); + //wait_ms(1); // driver->stop(); } } \ No newline at end of file