Replies: 2 comments 1 reply
-
Hi @beaka
You claim to get As stated before it works and again don't know why not on your side. Your best bet is to try to debug to understand why. ![]()
Why you point this? STM32G474CE has no PC0 pin so indeed there is no PC0 analog pin... |
Beta Was this translation helpful? Give feedback.
-
OK, I have posted amny times with enough info for you to either determine
an answer or ask for more specific info.
To address your points/questions/criticisms.
I purchased 4 boards from Weact store on Aliexpress. All behave the same
way. Have you actually tested on one of those boards not a nucleo which is
why I point out the PC0.
I plug the board into the USB port of the computer and setup the Arduino
IDE as shown in the pictures, how else can I do it. How am I doing it wrong?
As stated on previous assistance requests, the same code previously worked
on a Weact 401CC board but not on the G474.
I noted also on different code in inclusion od a .h file broke the
compilation of your libraires to which you just responded it can't, but I
showed you it did.
So stop with the blanket, it works, and help me find out why I wasted my
money on ST products.
…On Wed, 30 Jul 2025 at 00:08, Frederic Pillon ***@***.***> wrote:
Hi @beaka <https://github.com/beaka>
One last try to try to get some coherent and helpful assistance about the
ADC problem on Weact G474 using Arduino IDE.
You claim to get coherent and helpful assistance but all issues or
discussions you raised are only to told it's not working without any detail
of you environment, configuration... Moreover several time it was build
issue which is not possible with the standard configuration.
How would you like to answer this kind of request?
As stated before it works and again don't know why not on your side. Your
best bet is to try to debug to understand why.
If you always get 0 this means analogRead get an error as it is the
default value return in this case.
Hardware broken? Did you test only with one board? Wrong usage of the
board?
image.png (view on web)
<https://github.com/user-attachments/assets/ffc8dcfd-b1e3-4c6f-856a-bdd2b629cf50>
There is NO PC0 analog pin.
Why you point this? STM32G474CE has no PC0 pin so indeed there is no PC0
analog pin...
—
Reply to this email directly, view it on GitHub
<#2780 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF56IQGLX3GVAXB2BT2DT33K556TAVCNFSM6AAAAACCT66B7SVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOJSGMYTOMQ>
.
You are receiving this because you were mentioned.Message ID:
<stm32duino/Arduino_Core_STM32/repo-discussions/2780/comments/13923172@
github.com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
One last try to try to get some coherent and helpful assistance about the ADC problem on Weact G474 using Arduino IDE.
Using the ADC Internal example just gives 0's or an arbitrary value.
Simple analogread on any analog pin just gives 0's.
Using Arduino 2.3.6 from flatpak with STM MCU 2.10.1. for a Weact STM32G474CE Long board. There is NO PC0 analog pin.
Any actual advice rather than blanket dismissal would be appreciated.
Any further information can be provided if asked for.
Beta Was this translation helpful? Give feedback.
All reactions