test commit

This commit is contained in:
l0sted 2018-05-07 22:44:28 +03:00
parent c12f164b5f
commit 76ae9c24df

View File

@ -59,13 +59,9 @@ void setup(){
bmp.setOversampling(4); bmp.setOversampling(4);
} }
//BH1750
Wire.begin(lightSCL, lightSDA); Wire.begin(lightSCL, lightSDA);
// On esp8266 you can select SCL and SDA pins using Wire.begin(D4, D3);
if (!lightMeter.begin(BH1750::CONTINUOUS_HIGH_RES_MODE)) if (!lightMeter.begin(BH1750::CONTINUOUS_HIGH_RES_MODE))
Serial.println("lightMeter error!"); Serial.println("lightMeter error!");
Serial.println("Go!"); Serial.println("Go!");
} }