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
}
Treehopper::Libraries::Sensors::Optical::AmbientLightSensor
Definition:
AmbientLightSensor.h:9
Pollable.h
LIBRARIES_API
#define LIBRARIES_API
Definition:
Treehopper.Libraries.h:17
Treehopper
Definition:
AdcPin.h:3
Treehopper::Libraries::Pollable
Definition:
Pollable.h:8
C++
API
inc
Libraries
Sensors
Optical
AmbientLightSensor.h