upm
0.1.8
Sensor/Actuator repository for libmraa (v0.4.5)
|
C++ API for Grove light sensor. More...
Very basic UPM module for grove Light sensor on analog
Public Member Functions | |
GroveLight (unsigned int pin) | |
float | raw_value () |
int | value () |
Public Member Functions inherited from Grove | |
std::string | name () |
Additional Inherited Members | |
Protected Attributes inherited from Grove | |
std::string | m_name |
float raw_value | ( | ) |
Get raw value from AIO pin
int value | ( | ) |
Get the light value from the sensor