Treehopper C++ API
AmbientLightSensor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Libraries/Pollable.h>
4 
5 namespace Treehopper {
6  namespace Libraries {
7  namespace Sensors {
8  namespace Optical {
9  class LIBRARIES_API AmbientLightSensor : public virtual Pollable {
10  public:
11  double lux();
12 
13  protected:
14  double _lux;
15  };
16  }
17  }
18  }
19 }
#define LIBRARIES_API
Definition: Treehopper.Libraries.h:17
Definition: AdcPin.h:3
Definition: Pollable.h:8