I'm using a Teensy 3.6.
The serial monitor function becomes blocking if no one is listening, which is creating some problems for me. I'm using an external watchdog chip, and if I don't have the serial monitor up eventually the buffer fills and any Serial.printf (or varieties) become blocking, which means the watchdog doesn't get kicked, which means the Teensy resets.
In my application, the USB port will not be connected 99% of the time, but I would like to plug into it on occasion as a means of monitoring what's happening. Is there a way to change the behavior of this to just ignore anything that exceeds the buffer and continue to be non-blocking?
The serial monitor function becomes blocking if no one is listening, which is creating some problems for me. I'm using an external watchdog chip, and if I don't have the serial monitor up eventually the buffer fills and any Serial.printf (or varieties) become blocking, which means the watchdog doesn't get kicked, which means the Teensy resets.
In my application, the USB port will not be connected 99% of the time, but I would like to plug into it on occasion as a means of monitoring what's happening. Is there a way to change the behavior of this to just ignore anything that exceeds the buffer and continue to be non-blocking?