diff --git a/examples/sensortest/sensortest.pde b/examples/sensortest/sensortest.pde index 54f1b7c..cfb9cc3 100644 --- a/examples/sensortest/sensortest.pde +++ b/examples/sensortest/sensortest.pde @@ -109,6 +109,9 @@ void displayRange(void) void setup(void) { +#ifndef ESP8266 + while (!Serial); // for Leonardo/Micro/Zero +#endif Serial.begin(9600); Serial.println("Accelerometer Test"); Serial.println("");