![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ft. button press reset
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 {