Skip to content

Commit 46eb77e

Browse files
committed
change delay() to !Serial in BME280test.ino
1 parent 8ab2938 commit 46eb77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/bme280test/bme280test.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ unsigned long delayTime;
3535

3636
void setup() {
3737
Serial.begin(9600);
38-
delay(4000); // time to get serial running
38+
while(!Serial); // time to get serial running
3939
Serial.println(F("BME280 test"));
4040

4141
unsigned status;

0 commit comments

Comments
 (0)