Go Down

Topic: Waiting on Serial.Begin (Read 604 times) previous topic - next topic

seascan

Hello.  Does anyone know if it is possible to not "hang" waiting on serial.begin. 

I would like to occasionally check if there is a serial connection present if not, continue on through the the loop.  Right now, I have the Serial.Begin inside of the Setup routine and the code just waits until there is a serial connection made.

Thank you.


Coding Badly

Quote
I have the Serial.Begin inside of the Setup routine and the code just waits until there is a serial connection made


Impossible.  There are no loops in Serial.begin.

If you'd like help, post your Sketch.

AWOL

All "Serial.begin" does is set up the baud rate generator - it has no concept of a "connection".
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up