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

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() { ...@@ -45,6 +45,8 @@ void setup() {
// initialize the serial connection // initialize the serial connection
Serial.begin(115200); Serial.begin(115200);
Serial.println(F("\n# Serial started")); Serial.println(F("\n# Serial started"));
Serial.print(F("# Build Date: ")); Serial.print(F("# Build Date: "));
Supports Markdown
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