Closed gerritv closed 7 years ago
Awesome, thank you!!!
Please add the right delay time for the one-time measurement (datasheet page 7 and page 5 )
@coelner, if you know what to do you are welcome to submit a merge request with the proposed change.
These modes power down the chip after the level is read. The present code does not wake up the chip when reading the value in those modes.
I added a save of mode and changed the code in readLightLevel: