Wemos / Lolin D1 Mini Pro uses Wire.begin(D2, D1);

This commit is contained in:
Mike Wright
2020-08-11 01:12:42 +12:00
committed by GitHub
parent 6b3db32f50
commit 73edd6bb95
+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();