Merge pull request #68 from mike-kiwi/patch-1

Wemos / Lolin D1 Mini Pro uses Wire.begin(D2, D1);
This commit is contained in:
claws
2020-08-12 22:26:26 +09:30
committed by GitHub
+1
View File
@@ -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();