Search found 3 matches

by alexandreviau
Thu Nov 24, 2022 1:48 pm
Forum: General discussion
Topic: Unable to use analogRead() with pin PC3 and PC2
Replies: 6
Views: 838

Re: Unable to use analogRead() with pin PC3 and PC2

Ok, adding this line forced platformio to clone the lattest commit :

Code: Select all

platform_packages = platformio/framework-arduinoststm32 @ https://github.com/stm32duino/Arduino_Core_STM32.git#main
Everything seems to be working fine now !

Thanks !
by alexandreviau
Tue Nov 22, 2022 8:24 pm
Forum: General discussion
Topic: Unable to use analogRead() with pin PC3 and PC2
Replies: 6
Views: 838

Re: Unable to use analogRead() with pin PC3 and PC2

Hi @fpiSTM,

Thanks for your help !

I would like to test your change, but I don't konw how to set platformio to use the commit you make. Can you help me with that ?

Thanks !
by alexandreviau
Mon Nov 21, 2022 3:26 pm
Forum: General discussion
Topic: Unable to use analogRead() with pin PC3 and PC2
Replies: 6
Views: 838

Unable to use analogRead() with pin PC3 and PC2

Hi,

I'm using a NUCLE-G431RB with the arduino framework and PlatformIO.

I'm trying to do an analogRead() on pin PC2 and PC3, but it doesn't work. The problem seems to be that the function analogInputToDigitalPin() return NC for those pin.

Is there someting that I missed ?

Thanks !

Go to advanced search