Hello, I apologize if this has been covered elsewhere but I'm haven't found anything that can shed light on a particular issue I have. I have looked at the https://www.pjrc.com/teensy/td_serial.html page for details but I'm not sure it applies.
I'm trying to run the following code:
If I upload and run this code, then monitor the serial port I can see the counter will initially increment to around 400, then jumps to 4357, and then suddenly the output hangs. Would appreciate any guidance. I'm using a Teensy 3.2.
Thanks!
I'm trying to run the following code:
HTML:
void setup()
{
Serial.begin(115200); // USB serial
}
unsigned int counter = 0;
void loop()
{
Serial.println(counter++);
}
If I upload and run this code, then monitor the serial port I can see the counter will initially increment to around 400, then jumps to 4357, and then suddenly the output hangs. Would appreciate any guidance. I'm using a Teensy 3.2.
Thanks!