From 225bed4415b7ba305d81c8ce7634537be98c12e7 Mon Sep 17 00:00:00 2001 From: dean Date: Wed, 27 Dec 2017 18:39:20 -0500 Subject: [PATCH] DM: added startup delay --- Adafruit_BME280.cpp | 2 ++ examples/bme280test/bme280test.ino | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Adafruit_BME280.cpp b/Adafruit_BME280.cpp index 6ed7dcf..373b5a7 100644 --- a/Adafruit_BME280.cpp +++ b/Adafruit_BME280.cpp @@ -107,6 +107,8 @@ bool Adafruit_BME280::init() setSampling(); // use defaults + delay(100); + return true; } diff --git a/examples/bme280test/bme280test.ino b/examples/bme280test/bme280test.ino index ae115f8..e8b5563 100644 --- a/examples/bme280test/bme280test.ino +++ b/examples/bme280test/bme280test.ino @@ -51,8 +51,6 @@ void setup() { delayTime = 1000; Serial.println(); - - delay(100); // let sensor boot up }