1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//Chris Xiong 2018 //3-Clause BSD License #ifndef SENSOR_ALS_HPP #define SENSOR_ALS_HPP #include "sensors.hpp" class SensorALS:public SensorBase { private: float value; bool debug=false; protected: void enable_scan_elements(); public: void set_debug(bool d); void update_values(); float get_value(); }; #endif