chrisspurgeon
New member
When outputting a substantial amount of text to the Serial Monitor I've been experiencing an issue where the output will just truncate and stop appearing. Here's a super simple sketch that generates the problem (I'm running this on a new Teensy 4.1, with the CPU speed set to 396MHz, and Optimize set to "Fast")...
After the expected output appears in the Serial Monitor for a few hundred lines, it just dies. Here's the end of the output...
There are no errors during compilation (not surprising, considering how simple the sketch is). Anyone have any idea what's going on? THANKS!
Code:
void setup() {
Serial.begin(9600);
for (int i = 0; i < 500; i++) {
Serial.print("Another number: ");
Serial.println(i);
}
}
void loop() {
}
After the expected output appears in the Serial Monitor for a few hundred lines, it just dies. Here's the end of the output...
Code:
Another number: 386
Another number: 387
Another number: 388
Another number: 389
Another number: 390
Another number: 391
Another number: 392
Another number: 393
Another number: 394
Another
There are no errors during compilation (not surprising, considering how simple the sketch is). Anyone have any idea what's going on? THANKS!