![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Distance Sensor working without LCD
Dependencies: Speaker mbed 4DGL-uLCD-SE hcsr04
Diff: hcsr04.cpp
- Revision:
- 4:33938a97d904
- Parent:
- 3:e6795cb9439c
- Child:
- 5:e70a24a88131
diff -r e6795cb9439c -r 33938a97d904 hcsr04.cpp --- a/hcsr04.cpp Sat Mar 30 18:43:21 2013 +0000 +++ b/hcsr04.cpp Sat Mar 30 18:46:01 2013 +0000 @@ -53,7 +53,7 @@ distance= (pulsedur*343)/20000; pulsetime.reset(); } - + void DistMeasure::rise (void (*fptr)(void)) { echo.rise(fptr);