upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
UPM module for the APDS-9002 Luminance Sensor. More...
This sensor transforms luminous intensity to output analog values. It uses an APDS-9002 ambient light sensor.
Public Member Functions | |
APDS9002 (int pin) | |
~APDS9002 () | |
int | value () |
APDS9002 | ( | int | pin | ) |
APDS-9002 luminance sensor constructor
pin | Analog pin to use |
int value | ( | ) |
Gets the luminance value from the sensor