1 sensor using RTOS Timer, another 2 over RTOS Semaphore
Dependents: Autonomous_quadcopter
Fork of HCSR04 by
Diff: hcsr04.cpp
- Revision:
- 11:49a0feca5d71
- Parent:
- 8:0a10bacaf501
- Child:
- 12:6f6469b2f016
diff -r 2b8027544b02 -r 49a0feca5d71 hcsr04.cpp --- a/hcsr04.cpp Sun Mar 04 11:04:09 2018 +0000 +++ b/hcsr04.cpp Sun Mar 04 15:17:12 2018 +0000 @@ -88,7 +88,7 @@ } } -int HCSR04::getDistan1(){ +float HCSR04::getDistan1(){ return distan1; }