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: HCSR04 Motor mbed
Revision 13:10e7fd80906c, committed 2015-05-30
- Comitter:
- abdsha01
- Date:
- Sat May 30 15:40:45 2015 +0000
- Parent:
- 11:b45798cc3c10
- Parent:
- 12:703f75ae2453
- Child:
- 15:a821a0c599b3
- Commit message:
- Merged previous two revisions
Changed in this revision
--- a/main.cpp Sat May 23 19:31:37 2015 +0000
+++ b/main.cpp Sat May 30 15:40:45 2015 +0000
@@ -94,11 +94,13 @@
reverse(searchspeed);
wait(2);
stop();
+ detect = 0
break;
// If line is detected from back just keep on moving forward
} else if (detect == -1) {
wait(2);
stop();
+ detect = 0
break;
}
}