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 All-15 by
Diff: main.cpp
- Revision:
- 12:070fc8ec44b6
- Parent:
- 11:4084ae1f1be8
- Child:
- 13:2100fbde6d34
diff -r 4084ae1f1be8 -r 070fc8ec44b6 main.cpp --- a/main.cpp Tue Jul 07 22:08:39 2015 +0000 +++ b/main.cpp Tue Jul 07 22:18:42 2015 +0000 @@ -66,12 +66,6 @@ { enable = 1; online = 1; - MotorL_EN = 1; - MotorL_FORWARD = 1; - MotorL_REVERSE = 0; - MotorR_EN = 1; - MotorR_FORWARD = 1; - MotorR_REVERSE = 0; if((myline==0)&&(linecenter==0)) { active = false; @@ -111,7 +105,7 @@ } else { - MotorL_FORWARD = 0; + MotorL_FORWARD = 1; if((myline&0x04)>0) { MotorL_EN=0.25;