Wait until power is stable for BME680

This commit is contained in:
Ollo 2021-12-06 20:28:34 +01:00
parent b2db51d9a9
commit 1c35094cfa

View File

@ -391,6 +391,10 @@ void setup()
if (i2cEnable.get()) {
strip.fill(strip.Color(0,128,0));
strip.show();
#ifdef BME680
printf("Wait 1 second...\r\n");
delay(1000);
#endif
/* Extracted from library's example */
mFailedI2Cinitialization = !bmx.begin();
if (!mFailedI2Cinitialization) {