Interface to a standard tarco sensor. Measure the periode and the cal the speed
Diff: Counter.cpp
- Revision:
- 1:f5d3c37b065e
- Parent:
- 0:8421e11df32a
--- a/Counter.cpp Sat Oct 26 15:31:36 2013 +0000 +++ b/Counter.cpp Sun Oct 27 12:12:53 2013 +0000 @@ -11,6 +11,6 @@ } float Counter::Flow(){ - return count /PulsPrLiter; + return (float) Count/PulsPrLiter; }