claws / BH1750

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

remove Wire.begin from library #20

Closed claws closed 6 years ago

claws commented 6 years ago

This change set addresses #16 by removing library calls to Wire.begin. The library now expects the I2C bus to be initialised outside the library. This minimises issues encountered when multiple libraries are used that each call Wire.begin. Examples and the README have been updated to follow this expectation.