Replies: 1 comment
-
Hi @workpage2 Generic F411CE define the Serial2 with Arduino_Core_STM32/variants/STM32F4xx/F411C(C-E)(U-Y)/variant_generic.h Lines 128 to 140 in 975da6c If you want to change that you can change the define using build_opt.h feature: or you can simply change the default pins to use Serial.setRx(PA10);
Serial.setTx(PA9);
Serial.begin(9600); Note those pins are linked to |
Beta Was this translation helpful? Give feedback.
-
I am using a Blackpill 411CE board. I use generic F411CEUx in chip configuration.
To configure uart, I use the command:
Serial.begin(115200);
and
Serial2.begin(115200);
However, data exchange in both cases goes through PA2 and PA3.
How do I switch to PA9 and PA10?
Beta Was this translation helpful? Give feedback.
All reactions