Ultrasound Ranging Sensor module
Diff: hcsr04.cpp
- Revision:
- 1:093521f56089
- Parent:
- 0:fb0929f37ebe
- Child:
- 2:0acb6ade091c
--- a/hcsr04.cpp Sat Mar 30 17:27:39 2013 +0000 +++ b/hcsr04.cpp Sat Mar 30 17:32:04 2013 +0000 @@ -26,8 +26,8 @@ { pulsetime.stop(); pulsetime.reset(); - // this.rise(&DistMeasure::isr_rise); - // this.fall(&DistMeasure::isr_fall); + echo.rise(this,&DistMeasure::isr_rise); + echo.fall(this,&DistMeasure::isr_fall); }