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 PES_Official by
Revision 3:fa61be4ecaa6, committed 2017-03-22
- Comitter:
- beacon
- Date:
- Wed Mar 22 13:33:07 2017 +0000
- Parent:
- 2:01e9de508316
- Child:
- 4:67d7177c213f
- Commit message:
- Official
Changed in this revision
| Headers/Robot.h | Show annotated file Show diff for this revision Revisions of this file |
| Sources/Robot.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Headers/Robot.h Tue Mar 21 13:12:54 2017 +0000 +++ b/Headers/Robot.h Wed Mar 22 13:33:07 2017 +0000 @@ -21,7 +21,7 @@ #define RED -1 //Misc: -#define TIMEOUT 20 +#define TIMEOUT 5 /* Declarations for the Motors in the Robot in order to drive -------- */
--- a/Sources/Robot.cpp Tue Mar 21 13:12:54 2017 +0000
+++ b/Sources/Robot.cpp Wed Mar 22 13:33:07 2017 +0000
@@ -66,7 +66,7 @@
int rando;
if (*counter >= 5) {
- t->reset();
+ //t->reset();
rando = rand() % 2;
while (this->sensors[FWD] < NEAR){
