mirror of
https://github.com/claws/BH1750.git
synced 2026-07-27 19:56:17 +00:00
Merge pull request #68 from mike-kiwi/patch-1
Wemos / Lolin D1 Mini Pro uses Wire.begin(D2, D1);
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user