Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MaxbotixDriver by
Diff: LidarLitePwm.h
- Revision:
- 3:0b1f4404cb21
- Parent:
- 2:be66a4cd86c0
--- a/LidarLitePwm.h Wed Mar 18 09:17:13 2015 +0000 +++ b/LidarLitePwm.h Wed Apr 01 11:18:45 2015 +0000 @@ -1,4 +1,5 @@ #include "mbed.h" +#include "filter.h" #ifndef LidarLitePwm_H #define LidarLitePwm_H @@ -12,6 +13,7 @@ /// Returns range in cm as int int read(); + /// Returns the range in CM as an int operator int(); @@ -30,6 +32,8 @@ int _pulseStartTime; /// The most recent sample int _range; + + filter* _lidarFilter; }; #endif \ No newline at end of file