claws / BH1750

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

fix regression #33

Closed claws closed 6 years ago

claws commented 6 years ago

Fix regression that caused continuous mode to wait (similar to one time mode) before taking a measurement.

Convert mode to an enumeration as suggested in comment in #31.

Remove the BH1750_CONFIGURED boolean in preference to simply using the mode to detect if the software thinks the device has been configured.

All examples seem to work properly.