upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
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