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.
Diff: autoMode.h
- Revision:
- 38:f4e9893641ac
- Parent:
- 37:75fcd28f48c7
- Child:
- 39:5ba406327aa3
--- a/autoMode.h Sun Nov 15 11:45:29 2015 +0000 +++ b/autoMode.h Mon Nov 16 09:37:31 2015 +0000 @@ -60,11 +60,14 @@ stateR = 69; stateL = 69; #else - sendData(5,69); //right + sendData(4,70); //over +// sendData(5,68); //over wait(0.05); - sendData(4,69); //left + sendData(5,70); //front +// sendData(4,68); //front wait(0.05); - sendData(6,10); //middle + sendData(6,14); //middle +// sendData(6,7); //middle stateR = 69; stateL = 69; #endif @@ -92,11 +95,14 @@ stateR = 69; stateL = 69; #else - sendData(5,69); //right +// sendData(4,65); + sendData(4,66); //over cylinder6 wait(0.05); - sendData(4,69); //left +// sendData(5,75); + sendData(5,72); //front cylinder4 wait(0.05); - sendData(6,69); //middle +// sendData(6,1); //middle + sendData(6,3); //middle stateR = 69; stateL = 69; #endif @@ -125,11 +131,14 @@ stateR = 69; stateL = 69; #else - sendData(5,69); //right + sendData(4,69); //over +// sendData(5,69); //over wait(0.05); - sendData(4,69); //left + sendData(5,71); //front +// sendData(4,71); //front wait(0.05); - sendData(6,10); //middle + sendData(6,11); //middle +// sendData(6,7); //middle stateR = 69; stateL = 69; #endif