claws / BH1750

An Arduino library for the digital light sensor breakout boards containing the BH1750FVI IC
MIT License
249 stars 108 forks source link

add one time mode measure delay #22

Closed claws closed 6 years ago

claws commented 6 years ago

This change resolves #21 by applying the suggested update (with some extra comments and minor changes such as variable naming (e.g. saveWait -> maxWait)). The logic is slightly changed to use the typical wait time by default. User may pass maxWait=True to instead wait the maximum time before reading the measurement in one-time modes.

Also: