NODEMCU ESP8266 - drop WiFi connection using analogRead(A0)
Posted: Thu Nov 12, 2020 6:50 am
Hi all,
this is my first post in this forum, can you tell me if is needed some presentation?
In meantime, I submit you this problem:
I've a NODEMCU ESP-12E and using Arduino IDE to develop on it.
I've found an issue that cause continue drop in Wifi connection. In my sketch I was using a analgRead(A0) in loop() function, without any timing. This cause the issue.
If I put a delay(200) in loop(), issue is not present.
Thanks
Carlo
this is my first post in this forum, can you tell me if is needed some presentation?
In meantime, I submit you this problem:
I've a NODEMCU ESP-12E and using Arduino IDE to develop on it.
I've found an issue that cause continue drop in Wifi connection. In my sketch I was using a analgRead(A0) in loop() function, without any timing. This cause the issue.
If I put a delay(200) in loop(), issue is not present.
Thanks
Carlo