Library for setting up the Parallax X-Band Motion Detector.
Dependents: Parallax_XBAND_Demo Motion_Detection_Parallax
Diff: Parallax_X-Band.cpp
- Revision:
- 3:b9e54783e0c5
- Parent:
- 2:6e294a3a74f8
- Child:
- 4:efdfdab29a20
diff -r 6e294a3a74f8 -r b9e54783e0c5 Parallax_X-Band.cpp --- a/Parallax_X-Band.cpp Sun Mar 08 20:01:37 2015 +0000 +++ b/Parallax_X-Band.cpp Sun Mar 08 20:16:31 2015 +0000 @@ -79,10 +79,10 @@ } /** -* Get current velocity reading. Sets a flag to false to indicate a stale value after reading. +* Get current velocity reading in ticks/sec. Sets a flag to false to indicate a stale value after reading. * * @return Float value of currently measured velocity. -*/ +*/ float xband::read_velocity() { _velocityflag = false;