Commit 25c96cda authored by Jakub,Kolodziejski's avatar Jakub,Kolodziejski

Fixed reset issue when opening serial connection

Added while(!Serial) to setup() to prevent board from resetting when connecting to its USB-serial interface
parent 72a229d0
......@@ -45,6 +45,8 @@ void setup() {
// initialize the serial connection
Serial.begin(115200);
while(!Serial);
Serial.println(F("\n# Serial started"));
Serial.print(F("# Build Date: "));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment