An Arduino library for digital light sensor breakout boards containing the BH1750FVI IC.
The board uses I2C for communication, and two pins are required to interface to the device.
Datasheet can be obtained here
Click "Clone or download" -> "Download ZIP" button.
- (For Arduino < 1.5.x) Extract the archive to
<Your User Directory>/My Documents/Arduino/libraries/
folder and rename it toBH1750
. Restart IDE. - (For Arduino >= 1.5.x) Use the way above, or Library Manager. Open Arduino IDE, click
Sketch -> Include library -> Add .ZIP library
and select the downloaded archive.
Additional info, about library installation process - https://www.arduino.cc/en/Guide/Libraries