bportaluri / WiFiEsp

Arduino WiFi library for ESP8266 modules
GNU General Public License v3.0
551 stars 210 forks source link

The use of Delay() #217

Open whizyrel opened 2 years ago

whizyrel commented 2 years ago

You would agree with me that the delay() function messes stuff up. Is it avoidable? Are there other alternatives? Occurrences below https://github.com/bportaluri/WiFiEsp/blob/9997f650db2322ccc2ef652836196dff253c3f9c/src/WiFiEspClient.cpp#L128 https://github.com/bportaluri/WiFiEsp/blob/9997f650db2322ccc2ef652836196dff253c3f9c/src/WiFiEspClient.cpp#L284

JAndrassy commented 2 years ago

yes. my WiFiEspAT library doesn't have them

whizyrel commented 2 years ago

Look at the permalink, it seem it does. I added permalinks to where they are in the WiFiEspClient.cpp file

JAndrassy commented 2 years ago

Look at the permalink, it seem it does. I added permalinks to where they are in the WiFiEspClient.cpp file

what permalink? I see only links into the WiFiEsp library source

whizyrel commented 2 years ago

Exactly, if you follow the link, you would find the delay(4000) on there.

JAndrassy commented 2 years ago

Exactly, if you follow the link, you would find the delay(4000) on there.

I was talking about my newer WiFiEspAT library, not about WiFiEsp

whizyrel commented 2 years ago

Oh, Can you point me in the direction of where that is

whizyrel commented 2 years ago

I think I found it https://github.com/jandrassy/WiFiEspAT

whizyrel commented 2 years ago

Quick question, do you think the WiFiEspAT can work for this? <--- 'AR wersion:1.2.0.0(Jul 1 2016 20:04:45)' 14:31:17.347 -> AR wersion:1.2.0.0(Jul 1 2016 20:04:45) 14:31:17.347 -> SDK version:1.5/4.1(39cb9a32) 14:31:17.347 -> v1.0.0 14:31:17.347 -> Mar 11 2018 18:27:31 14:31:17.347 -> O'

whizyrel commented 2 years ago

Help!!!

JAndrassy commented 2 years ago

https://github.com/jandrassy/WiFiEspAT#why-a-new-wifiesp-library