Skip to content

replace delay() with a while loop in WiFiClient.ino #1160

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

Merged
merged 2 commits into from
Dec 6, 2015

Conversation

martinayotte
Copy link
Contributor

Since many users on the forum complained that the example was not running due to the fact that delay(10) wasn't enough for some slow servers, I'm proposing this change.

@Links2004
Copy link
Collaborator

for http client better use:
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266HTTPClient/examples/BasicHttpClient/BasicHttpClient.ino
may we shut change the WiFiClient example to a simple client (non http)

igrr added a commit that referenced this pull request Dec 6, 2015
replace delay() with a while loop in WiFiClient.ino
@igrr igrr merged commit c4436d8 into esp8266:master Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants