I wanted to use my Artemis RedBoard with some sensors and print their output to the Serial Monitor, but I had an issue where about after 24 minutes the board would stop outputting data to the Serial Monitor and the only way to get it to “unfreeze” was to press the reset button.
I narrowed down the issue to just the code below:
void setup() {
Serial.begin(9600);
Serial.println("Start");
}
void loop() {
Serial.println("Reporting");
delay(1000);
}
With this code, after about 24 minutes, there is no output to the Serial monitor and the board “freezes” up.
If it helps, the time it takes for the board to freeze up is usually right around 24 minutes, with very little variance.
Can I get any clues as to what might have gone wrong?