1
0
mirror of https://github.com/cmur2/python-veml6070.git synced 2026-05-30 19:47:13 +02:00

module: respect shutdown settings when writing command

- this fixes a serious flaw where until now this library never powered the sensor down
- not noticable directly as the sensor still takes measurements but wastes power in between
This commit is contained in:
cn
2019-09-18 22:11:53 +02:00
parent 2610387dae
commit 5cf6d2aad5
3 changed files with 134 additions and 128 deletions
+6
View File
@@ -14,6 +14,12 @@ Consult the [datasheet](https://www.vishay.com/docs/84277/veml6070.pdf), the [ap
Not all functions of the chip are supported, especially not the interrupt handling since I had no use for this. Please send pull requests for improvements and bug fixes!
## Serious Flaws before September 2019
In September 2019 it was discovered (and fixed) that:
- previously the sensor was never shutdown between measurements which wastes power but still takes measurements successfully
## License
Python files in this repository are released under the [MIT license](LICENSE).