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.
Dependencies: HMC6352 Motor mbed
Revision 15:ff95ff245fc0, committed 2012-10-10
- Comitter:
- vsavkin3
- Date:
- Wed Oct 10 20:17:04 2012 +0000
- Parent:
- 14:9f5ce2fd2cfc
- Commit message:
- Final Santa Seeker
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9f5ce2fd2cfc -r ff95ff245fc0 main.cpp --- a/main.cpp Wed Oct 10 20:14:15 2012 +0000 +++ b/main.cpp Wed Oct 10 20:17:04 2012 +0000 @@ -103,6 +103,7 @@ else {right.speed(1); left.speed(1); //printf("CHARGE!\n\r"); if((avgLeft>35&&stable[0][0]>35&&stable[0][1]>35) + &&(avgRight>35&&stable[1][0]>35&&stable[1][1]>35) &&NorthCount>=350){ NorthOn=1; NorthCount=0;}