1
0
mirror of https://github.com/cmur2/python-veml6070.git synced 2024-12-22 00:54:23 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
cn
1bdfe0e54a module: add estimated risk level calculation based on UVA light intensity
- thresholds from vendor, take with a grain of salt as these are estimations
2019-09-19 11:00:03 +02:00
cn
4eda08a9c9 module: calculate UVA light intensity correctly for rset != RSET_240K
- compensation for rset != RSET_240K was wrong, it increased UVA power/ADC step for rset > RSET_240K
- UVA power/ADC step should have been decreasing as refresh time (sampling time) got longer
- same behavior as with integration_time setting, that works correctly
2019-09-19 01:18:42 +02:00
cn
df23b9905b module: calculate refresh time from any RSET without lookup table 2019-09-19 00:50:48 +02:00
cn
6b2bde2dce test: add get_refresh_time() test 2019-09-19 00:50:48 +02:00
cn
f5bb5c01cb test: rename to suffix 2018-03-14 14:03:16 +01:00