You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
1What do you mean with "analogRead does not work"? What happens when you try to read an analog value from a pin? Please describe your hardware setup and show some code that demonstrates the problem.StarCat– StarCat06/26/2021 05:54:14Commented Jun 26, 2021 at 5:54
-
1When WiFi is being used the values from analogRead stay at 0 whether connected to 3.3 or 100 voltsCoder9390– Coder939006/26/2021 10:36:19Commented Jun 26, 2021 at 10:36
-
1That is not normal behaviour so it's probably caused by your specific setup. Please provide some more information. What about your code and hardware setup? Are you using the correct pin(s). If you have connected an analog port to 100 volts you have probably killed your ESP32.StarCat– StarCat06/26/2021 10:47:10Commented Jun 26, 2021 at 10:47
-
1l'll update the question with the code, "100 Volts" was supposed to sarcastic as it shows only 0 connected to any voltageCoder9390– Coder939006/26/2021 13:10:57Commented Jun 26, 2021 at 13:10
-
1This code is a simplified version, but the problem exists here tooCoder9390– Coder939006/26/2021 13:22:53Commented Jun 26, 2021 at 13:22