diff options
author | Chris Xiong <chirs241097@gmail.com> | 2018-04-09 22:42:45 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2018-04-09 22:42:45 +0800 |
commit | 6bdb9028af9a5256fbb47b942843e49aef7e3aa1 (patch) | |
tree | a2346e35e36a3fcb016cb7ab65bcbcb84dede1bf /sensor_als.hpp | |
download | lightsd-6bdb9028af9a5256fbb47b942843e49aef7e3aa1.tar.xz |
Initial commit.
Diffstat (limited to 'sensor_als.hpp')
-rw-r--r-- | sensor_als.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sensor_als.hpp b/sensor_als.hpp new file mode 100644 index 0000000..0548545 --- /dev/null +++ b/sensor_als.hpp @@ -0,0 +1,14 @@ +#ifndef SENSOR_ALS_HPP +#define SENSOR_ALS_HPP +#include "sensors.hpp" +class SensorALS:public SensorBase +{ + private: + float value; + protected: + void enable_scan_elements(); + public: + void update_values(); + float get_value(); +}; +#endif |