From 73edd6bb95d506034a6db58b6242648c19f8c430 Mon Sep 17 00:00:00 2001 From: Mike Wright Date: Tue, 11 Aug 2020 01:12:42 +1200 Subject: [PATCH] Wemos / Lolin D1 Mini Pro uses Wire.begin(D2, D1); --- examples/BH1750test/BH1750test.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/BH1750test/BH1750test.ino b/examples/BH1750test/BH1750test.ino index 7b6b272..4ca5c10 100644 --- a/examples/BH1750test/BH1750test.ino +++ b/examples/BH1750test/BH1750test.ino @@ -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();