Hi all!
I'm using Teensy v3.6 and on my setup I have something like this:
// Wait Serial Monitor to open
Serial.begin(SERIAL_BAUD);
while (!Serial) ;
I use this kind of Serial init on my Arduino board but on Teensy it seems that if I don't connect the serial monitor (Arduino IDE or Putty) the code stack on "while (!Serial) ;".
Is that the correct behaviour? My problem is that my board won't startup if I just power it with no serial monitor opened.
I just remove that line and everything seems work fine but I'd like to understand better.
PS: I also can't see the setup Serial dump messages when I connect the board with Putty...
I'm using Teensy v3.6 and on my setup I have something like this:
// Wait Serial Monitor to open
Serial.begin(SERIAL_BAUD);
while (!Serial) ;
I use this kind of Serial init on my Arduino board but on Teensy it seems that if I don't connect the serial monitor (Arduino IDE or Putty) the code stack on "while (!Serial) ;".
Is that the correct behaviour? My problem is that my board won't startup if I just power it with no serial monitor opened.
I just remove that line and everything seems work fine but I'd like to understand better.
PS: I also can't see the setup Serial dump messages when I connect the board with Putty...