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 2015robot_main by
Diff: autoMode.h
- Revision:
- 73:86b7b82ba997
- Parent:
- 71:4ebc1c0fcb4e
- Child:
- 75:4cdcd50ee666
diff -r 021a14ee970f -r 86b7b82ba997 autoMode.h --- a/autoMode.h Sat Oct 10 00:47:26 2015 +0000 +++ b/autoMode.h Sat Oct 10 01:44:30 2015 +0000 @@ -19,6 +19,7 @@ } } else if(b==6){ /*start*/ + resetState(); flagf=1; targ_velocity=speed; sendData(7,defoR); @@ -28,6 +29,7 @@ CMode = 0; } else if(b==8){ /*middle start*/ + resetState(); flagf=1; targ_velocity=speed; sendData(7,17); @@ -92,6 +94,7 @@ } } else if(up){ /*start*/ + resetState(); flagf=1; targ_velocity=speed; sendData(7,defoR); @@ -101,6 +104,7 @@ CStep = 1; } else if(right){ /*middle start*/ + resetState(); flagf = 1; targ_velocity=speed; sendData(7,17);