Search found 4 matches

by meitao605
Sat Apr 04, 2020 1:35 pm
Forum: General discussion
Topic: [Answered] AnalogRead() for PC3 stucked of STM32F103RCT6
Replies: 6
Views: 5041

Re: [Answered] AnalogRead() for PC3 stucked of STM32F103RCT6

Thanks. very much. :D

now i have to learn how to install from git rather than just download from IDE. :o
by meitao605
Sat Apr 04, 2020 12:59 pm
Forum: General discussion
Topic: [Answered] AnalogRead() for PC3 stucked of STM32F103RCT6
Replies: 6
Views: 5041

Re: [Answered] AnalogRead() for PC3 stucked of STM32F103RCT6

I'm sorry for that.

I'm very new here, and this is my first time work with Arduino_STM32.

I tried to read the issue, but i don't quite understand 'analogRead: don't set ADC common register when ADC doesn't support it.'

does that mean i can't use this ADC3,or is there another we to get the number ...
by meitao605
Sat Apr 04, 2020 9:26 am
Forum: General discussion
Topic: [Answered] AnalogRead() for PC3 stucked of STM32F103RCT6
Replies: 6
Views: 5041

[Answered] AnalogRead() for PC3 stucked of STM32F103RCT6

Version: STM32 Core 1.8.0
Arduino Verison: 1.8.12
UploadMethod: ST_LINK

Chip:STM32F103RCT6

code:
HardwareSerial Uart1(PA10,PA9);
int fold_current;

void setup() {
pinMode(PC3,INPUT_ANALOG);
Uart1.begin(9600);
}

void loop()
{
fold_current = analogRead(PC3);
Uart1.println(fold_current);
delay(100 ...

Go to advanced search