How can I read an analogvalue using an ESP8266 device (wemos) with Arduino IDE, but without crashing the gateway? The gateway crashes upon using analogRead(A0). I tried several options-delay( ), yield ( ). I'm a newbie at programming. Could someone help me with a solution?
How can I read an analogvalue using an ESP8266 device (wemos) with Arduino IDE, but without crashing the gateway? The gateway crashes upon using analogRead(A0). I tried several options-delay( ), yield ( ). I'm a newbie at programming. Could someone help me with a solution?