Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/BH1750.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@

/**
* Constructor
* @params addr Sensor address (0x76 or 0x72, see datasheet)
* @params addr Sensor address (0x23 or 0x5C, see datasheet)
*
* On most sensor boards, it was 0x76
* On most sensor boards, it was 0x23
*/
BH1750::BH1750(byte addr) {

Expand Down
2 changes: 1 addition & 1 deletion src/BH1750.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class BH1750 {
};

BH1750(byte addr = 0x23);
bool begin(Mode mode = CONTINUOUS_HIGH_RES_MODE, byte addr = 0x23,
bool begin(Mode mode = CONTINUOUS_HIGH_RES_MODE, byte addr = 0x00,
TwoWire* i2c = nullptr);
bool configure(Mode mode);
bool setMTreg(byte MTreg);
Expand Down