upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
APDS9930 Digital Proximity and Ambient Light Sensor. More...
This sensor provides digital ambient light sensing (ALS), IR LED and a complete proximity detection system.
Public Member Functions | |
APDS9930 (int device) | |
~APDS9930 () | |
int | getAmbient () |
int | getProximity () |
APDS9930 | ( | int | device | ) |
APDS-9930 digital proximity and ambient light sensor constructor
iio | device number |
int getAmbient | ( | ) |
Gets the ambient luminance value from the sensor
int getProximity | ( | ) |
Gets the proximity value from the sensor