I included the Arduino.h but it didn't solve the problem.ag123 wrote: Tue May 31, 2022 8:42 am check the core you used. it may help to have #include <Arduino.h> in there, normally not needed.
Search found 36 matches
- Thu Jun 02, 2022 12:22 am
- Forum: General discussion
- Topic: STM32F103C8T6 Reference Voltage READ
- Replies: 15
- Views: 11460
Re: STM32F103C8T6 Reference Voltage READ
- Tue May 31, 2022 8:23 am
- Forum: General discussion
- Topic: STM32F103C8T6 Reference Voltage READ
- Replies: 15
- Views: 11460
Re: STM32F103C8T6 Reference Voltage READ
Code: Select all
debug : 'AVREF' was not declared in this scope
It doesn't know what the AVREF variable is.
- Tue May 31, 2022 8:00 am
- Forum: General discussion
- Topic: STM32F103C8T6 Reference Voltage READ
- Replies: 15
- Views: 11460
Re: STM32F103C8T6 Reference Voltage READ
Thanks for your interest in my question.ag123 wrote: Tue May 31, 2022 7:52 am look up the specs sheet for what that is, it isn't the same as that used by Atmega mcu.
https://www.st.com/en/microcontrollers- ... 103c8.html
Is it correct to refer to the Internal_channels.ino source?
- Tue May 31, 2022 6:07 am
- Forum: General discussion
- Topic: STM32F103C8T6 Reference Voltage READ
- Replies: 15
- Views: 11460
STM32F103C8T6 Reference Voltage READ
hello,
I want to read the reference voltage value of the STM32F103C8T6 now, but I can't figure out how.
In the case of Arduino UNO, I know that the reference voltage can be read using the code below.
float getRefVolt() {
// Read 1.1V reference against AVcc
// set the reference to Vcc and the ...
I want to read the reference voltage value of the STM32F103C8T6 now, but I can't figure out how.
In the case of Arduino UNO, I know that the reference voltage can be read using the code below.
float getRefVolt() {
// Read 1.1V reference against AVcc
// set the reference to Vcc and the ...
- Mon May 30, 2022 1:19 am
- Forum: General discussion
- Topic: STM32F103C8T6 External Interrupt Problem
- Replies: 2
- Views: 2930
Re: STM32F103C8T6 External Interrupt Problem
I solved the problem.
The cause was a circuit configuration problem.
Thank you.
The cause was a circuit configuration problem.
Thank you.
- Fri May 27, 2022 7:55 am
- Forum: General discussion
- Topic: STM32F103C8T6 External Interrupt Problem
- Replies: 2
- Views: 2930
STM32F103C8T6 External Interrupt Problem
Currently, I am writing a code that operates the interrupt function when a falling edge occurs by connecting 3 buttons to the STM32duino by pull-up.
Interrupt registration looks like this:
attachInterrupt(digitalPinToInterrupt(PA0), button_ISR1, FALLING);
attachInterrupt(digitalPinToInterrupt(PA1 ...
Interrupt registration looks like this:
attachInterrupt(digitalPinToInterrupt(PA0), button_ISR1, FALLING);
attachInterrupt(digitalPinToInterrupt(PA1 ...