Home
last modified time | relevance | path

Searched refs:lux (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/samples/sensor/isl29035/
DREADME.rst14 ISL29035 sensor every 10 seconds if it is within +/- 50 lux of the last
41 ALERT 365 lux outside range centered on 0 lux.
45 ALERT 302 lux outside range centered on 365 lux.
48 ALERT 247 lux outside range centered on 302 lux.
51 ALERT 187 lux outside range centered on 247 lux.
54 ALERT 126 lux outside range centered on 187 lux.
57 ALERT 181 lux outside range centered on 126 lux.
60 ALERT 235 lux outside range centered on 181 lux.
63 ALERT 301 lux outside range centered on 235 lux.
66 ALERT 353 lux outside range centered on 301 lux.
/Zephyr-latest/samples/sensor/grove_light/src/
Dmain.c25 struct sensor_value lux; in main() local
33 sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &lux); in main()
35 printf("lux: %f\n", sensor_value_to_double(&lux)); in main()
/Zephyr-latest/samples/sensor/isl29035/src/
Dmain.c63 int lux = val.val1; in process_sample() local
73 struct sensor_value lo_thr = { MAX(lux - LUX_ALERT_DELTA, 0), }; in process_sample()
74 struct sensor_value hi_thr = { lux + LUX_ALERT_DELTA }; in process_sample()
78 lux, last_lux, lo_thr.val1, hi_thr.val1); in process_sample()
79 last_lux = lux; in process_sample()
/Zephyr-latest/samples/sensor/grove_light/
DREADME.rst11 units of lux, once every second.
46 lux: 0.945751
47 lux: 0.882292
48 lux: 0.755973
/Zephyr-latest/drivers/sensor/renesas/isl29035/
DKconfig23 prompt "Full scale lux range"
26 Maximum allowable lux value. Lower range values offer better
/Zephyr-latest/drivers/sensor/vishay/veml7700/
Dveml7700.c149 uint32_t *lux) in veml7700_counts_to_lux() argument
154 *lux = counts * veml7700_resolution[data->gain][data->it]; in veml7700_counts_to_lux()
158 static int veml7700_lux_to_counts(const struct veml7700_data *data, uint32_t lux, in veml7700_lux_to_counts() argument
164 *counts = lux / veml7700_resolution[data->gain][data->it]; in veml7700_lux_to_counts()
/Zephyr-latest/samples/sensor/vcnl4040/
DREADME.rst45 Light (lux): 288