aboutsummaryrefslogblamecommitdiff
path: root/sensor_als.hpp
blob: 891af55e74639a6bb506daa24343a9afd1dcbb40 (plain) (tree)
1
2
3
4
5
6
7
8
9

                      






                                 
                                 


                                            
                                       



                                     
//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