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.
Revision 2:eca01caa037f, committed 2019-06-11
- Comitter:
- Humberttt
- Date:
- Tue Jun 11 08:57:23 2019 +0000
- Parent:
- 1:9bafb8db5980
- Commit message:
- test
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9bafb8db5980 -r eca01caa037f main.cpp
--- a/main.cpp Fri May 24 13:11:44 2019 +0000
+++ b/main.cpp Tue Jun 11 08:57:23 2019 +0000
@@ -213,7 +213,7 @@
{
case'j':
dist = TOF_sensor.getDistance();
- if(dist<100)
+ if(dist<150)
{
pc.printf("youren");
}
@@ -263,6 +263,8 @@
case'l':
out1=0;out2=0;out3=1;
+ wait(4);
+ out1=1;out2=0;out3=0;
break;
case'1':