Created libraries2
Dependencies: mbed ultrasonic
Diff: main.cpp
- Revision:
- 12:086122072266
- Parent:
- 11:711c539b95b8
- Child:
- 13:2169890a1508
--- a/main.cpp Tue Apr 21 06:40:31 2015 +0000 +++ b/main.cpp Thu Apr 23 07:06:33 2015 +0000 @@ -27,7 +27,7 @@ void signal_reciev(){ float _time = t1.read(); - if (_time<0.006 && _time>0.0001){ // Reads only between 100cm and 1,7cm + if (_time<0.006 && _time>0.000245){ // Reads only between 100cm and 1,7cm if (t1.read()>previous){ pc.printf("check");