TD-er
cfe7d2f2cf
[TSL2591] Check sensor before reading + speedup
...
The old implementation did perform 3 readings, which depending on the set integration time could take a while.
But since all output values should be based on the same reading anyway, it is simply wrong to perform separate readings.
Also added a call to `begin()` of the library to make sure the gain and timing are correctly set.
This could cause incorrect readings if the sensor somehow got reset.
Fixes: #3347
2020-10-28 15:58:04 +01:00
..
2020-10-28 12:56:18 +01:00
2020-10-20 15:55:49 +02:00
2020-06-08 11:19:06 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 23:09:51 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:29 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-26 11:11:53 +01:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-09-22 14:56:50 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-09-22 14:56:50 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-28 15:58:04 +01:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:29 +02:00
2020-10-20 15:55:29 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-21 09:34:49 -07:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-09-24 10:20:00 +02:00
2018-03-27 21:24:08 +02:00
2020-04-25 16:01:04 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 16:03:22 +02:00
2020-10-20 15:55:49 +02:00
2020-10-20 15:55:49 +02:00
2020-10-21 22:22:10 +02:00
2020-04-28 19:44:26 +02:00
2020-04-28 19:44:26 +02:00
2020-10-20 15:55:49 +02:00
2020-09-25 22:58:49 +02:00
2020-10-20 15:55:49 +02:00
2020-07-09 21:37:54 +02:00