Skip to content

Commit

Permalink
Merge pull request #68 from mike-kiwi/patch-1
Browse files Browse the repository at this point in the history
Wemos / Lolin D1 Mini Pro uses Wire.begin(D2, D1);
  • Loading branch information
claws authored Aug 12, 2020
2 parents 6b3db32 + 73edd6b commit 38e9f37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/BH1750test/BH1750test.ino
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ void setup(){
// Initialize the I2C bus (BH1750 library doesn't do this automatically)
Wire.begin();
// On esp8266 you can select SCL and SDA pins using Wire.begin(D4, D3);
// For Wemos / Lolin D1 Mini Pro and the Ambient Light shield use Wire.begin(D2, D1);

lightMeter.begin();

Expand Down

0 comments on commit 38e9f37

Please sign in to comment.