HCSR04 library with public trigger
Fork of HCSR04 by
Diff: hcsr04.cpp
- Revision:
- 4:33938a97d904
- Parent:
- 3:e6795cb9439c
- Child:
- 5:e70a24a88131
--- 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);