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:
- 40:5d4e6d0e2a99
- Parent:
- 35:2db63dec2a67
- Child:
- 47:46db7f076cea
--- a/autoMode.h Wed Sep 23 08:03:10 2015 +0000 +++ b/autoMode.h Thu Sep 24 04:48:42 2015 +0000 @@ -12,8 +12,8 @@ else if(down) targ_velocity=-speed; else if(right) targ_velocity=0.0,targ_sita=0.0; else if(left) targ_velocity=0.0,targ_sita=PI/2.0; - else if(r1) targ_sita=0.0; - else if(l1) targ_sita=PI/2.0; + else if(r1) sendData(1,4); + else if(l1) sendData(1,5); else if(circle) { if(edge_circle) edge_circle=0,autoflag=0,Indicator4=0,IndicatorAuto=1; } else if(cross) {