-
Notifications
You must be signed in to change notification settings - Fork 13.3k
"delay(10)" after Serial.begin in examples #3496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
this is maybe leftover from Arduino Leonardo examples
|
I usually use a 1 second delay so my serial program can reconnect to the serial port or else i miss the boot sequence and first print |
a delay in the setup() won't give you time to see the boot message ... |
sorry I meant my setup boot sequence, not esp |
It's just left over code. It is not really needed nowadays. |
Fixed in #5290 |
Many examples of the ESP8266WiFi library have this in the setup:
What is the purpose of the delay? At first glance, everything seems to work perfectly fine without it.
GitHub search for "delay(10)"
Thanks,
Pieter
The text was updated successfully, but these errors were encountered: