Skip to main content
Arduino

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*

Draft saved
Draft discarded
Cancel
8
  • 1
    What 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. Commented Jun 26, 2021 at 5:54
  • 1
    When WiFi is being used the values from analogRead stay at 0 whether connected to 3.3 or 100 volts Commented Jun 26, 2021 at 10:36
  • 1
    That 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. Commented Jun 26, 2021 at 10:47
  • 1
    l'll update the question with the code, "100 Volts" was supposed to sarcastic as it shows only 0 connected to any voltage Commented Jun 26, 2021 at 13:10
  • 1
    This code is a simplified version, but the problem exists here too Commented Jun 26, 2021 at 13:22

AltStyle によって変換されたページ (->オリジナル) /