How can I use all the 5 serial ports on the STM32F103RCT6 microcontroller using the official ST core in Arduino?
I can use USART1 just like on any other arduino board with Serial.begin(9600); but the other 4 serial ports are not working, I get compiler error
"undefined reference to `Serial2'"
Do I have to instanciate the rest of the serial ports?
How do I do that?
Using all 5 serial ports
Using all 5 serial ports
Last edited by razvitm on Fri May 01, 2020 12:29 pm, edited 1 time in total.
Re: Using all 5 serial ports
Yes you have to instantiate them:
https://github.com/stm32duino/wiki/wiki ... wareserial
https://github.com/stm32duino/wiki/wiki ... wareserial
Re: Using all 5 serial ports
Thanks, all serial ports working now.