proximity-lux-sensor

wayland/vl6180x-time-of-flight/proximity-lux-sensor

Proximity and ambient light sensor.
proximity-lux-sensor
@/proximity-lux-sensor
Proximity and ambient light sensor.
I2Cxod/i2c/i2c
I²C bus
GAINbyte
Gain. Options: 06h = 1x gain; 05h = 1.25x; 04h = 1.67x; 03h = 2.5x; 02h = 5x; 01h = 10x; 00h = 20x; 07h = 40x.
UPDpulse
Update. Trigger read.
proximity-lux-sensor
DIST
STAT
LUX
DONE
I2C
GAIN
UPD
DONEpulse
Pulse on read.
LUXnumber
Lux
STATbyte
Status. Ranging success/error code: 00h = success; 01h = system error; 05h = system error; 06h = early convergence estimate fail; 07h = no target detected; 08h = ignore threshold check failed; 0Bh = ambient conditions too high; 0Ch = raw range algo underflow; 0Dh = raw range algo overflow; 0Eh = raw range algo underflow; 0Fh = raw range algo overflow.
DISTnumber
Distance (millimetres).
To use the node in your project you should have the wayland/vl6180x-time-of-flight library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.