Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15514

Serial.print Program Lag

$
0
0

Using Serial.print for debugging significantly slows down a sketch. Once I have a sketch working as I want (for now), I may use find and replace and change Serial.print to //Serial.print and this speeds everything up.

Do i need to do this or simply comment out the Serial.begin?

If I do just comment out the Serial.begin, will the Serial.print commands still use processing power?

Should I comment out both Serial.begin and Serial.print commands for optimal performance?

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 15514

Trending Articles