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.
Fork of BeaconDemo_RobotCode by
Revision 23:fd0f0931768a, committed 2017-03-13
- Comitter:
- jhok500
- Date:
- Mon Mar 13 10:07:07 2017 +0000
- Parent:
- 22:3643fc1c82b6
- Commit message:
- ft. reset button press
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Mar 08 11:49:39 2017 +0000
+++ b/main.cpp Mon Mar 13 10:07:07 2017 +0000
@@ -279,6 +279,11 @@
main_program_state = 7;
display.write_string("TAG");
}
+ else if(buffer[0] == 'R'){
+ set_left_motor_speed(0);
+ set_right_motor_speed(0);
+ init();
+ }
else
{
