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

8 Commits

Author SHA1 Message Date
cn
e0f9b327f5 module: support Python 3 only 2021-05-21 13:56:22 +02:00
cn
b358ea539f module: use yapf formatter, reduce pylint warnings 2020-08-07 23:01:51 +02:00
cn
1b3fc8f2df module: adopt poetry dependency manager 2020-08-07 22:39:32 +02:00
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