Go Down

Topic: Waiting on Serial.Begin (Read 666 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy