test commit
This commit is contained in:
parent
c12f164b5f
commit
76ae9c24df
@ -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!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user