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:
- 71:4ebc1c0fcb4e
- Parent:
- 66:14df82661dfa
- Child:
- 73:86b7b82ba997
diff -r 5b8ed76a31c7 -r 4ebc1c0fcb4e autoMode.h --- a/autoMode.h Fri Oct 09 07:20:12 2015 +0000 +++ b/autoMode.h Fri Oct 09 12:01:58 2015 +0000 @@ -112,8 +112,12 @@ else if(square){ /*reset*/ sendData(7,31); } - else if(triangle){ /*set defo*/ - sendData(7,defoR); + else if(triangle){ +// sendData(7,defoR); + skip = 1; + } + else if(!triangle){ + skip = 0; } else if(cross){ /*stop*/ Motor_swing=0;