[SOLVED]All GPIO show Digital despite being Analog #184
Replies: 6 comments 1 reply
-
|
I will test that |
Beta Was this translation helpful? Give feedback.
-
|
What is the version of the Espressif board you are using and the GPIO library version ? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the quick reply!
Hardware: Full environment details from |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
But you are using the old ESP32 core v2.017, not 3.2. |
Beta Was this translation helpful? Give feedback.
-
|
Ok. Got it working. This has been a very difficult issue to diagnose, with symptoms that seemed logically impossible. My build environment, configured with The Solution: Bypassing PlatformIO Once I abandoned the PlatformIO environment to see if the issue was with the hardware or the toolchain itself, I was able to get the demo working perfectly by using the Arduino IDE directly. This suggests that the hardware is fine and that the root cause lies somewhere within PlatformIO's handling of my specific board. Hardware Details: The board is an The Working Arduino IDE Configuration: For anyone else with this specific board, these are the settings that worked perfectly in the Arduino IDE (v2.x) with the latest
Conclusion and Hypothesis: The fact that the Arduino IDE works flawlessly with a more specific board profile strongly suggests that the generic This is likely not a "bug" in the traditional sense, but an oversight for an uncommon hardware variant. Hopefully, this information can help anyone else in my situation. Thank you again for your help. |
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
-
I am unable to get the web UI to show any of my pins as analog. They are all listed as [D]igital, despite actively using them to input analog data.
Here is a simple program that demonstrates the issue I'm seeing:
Output:
So you can see the GPIO is correctly being read as analog, but the gpioViewer web UI only ever shows Digital pins.
My board is an ESP32-S3-DevKitC-1-N32R16V.
I searched but did not see any similar issues. Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions