Topic: Problem with analogRead(A0) Wemos d1
if I write an analogRead(A0), the phone does not see wifi remote x y
You are not logged in. Please login or register.
RemoteXY community → Проблемы и ошибки → Problem with analogRead(A0) Wemos d1
if I write an analogRead(A0), the phone does not see wifi remote x y
Unrelated to RemoteXY. It's a known limitation of the ESP8266, as a single core microcontroller it cannot constantly use the ADC (which takes a relatively long time) AND keep wifi alive at the same time. Solution is to not use analogRead more than once every millisecond, OR you can use it as fast as possible but for less than 50ms at once.
Right. Add delay(1) in your loop.
RemoteXY community → Проблемы и ошибки → Problem with analogRead(A0) Wemos d1
Powered by PunBB, supported by Informer Technologies, Inc.