Closed
Description
I found this section on your boards.txt.
# NUCLEO_F103RB board
# Support: Serial1 (USART1 on PA10, PA9) and Serial2 (USART3 on PC11, PC10)
I tried Serial2.
But Serial2.println() output to Arduino-IDE Monitor.
I want to output like this.
To Arduino-IDE using Serial.
To PC10 using Serial2.
Code:
void setup() {
Serial.begin(115200);
Serial2.begin(115200);
Serial.println("setup() start");
Serial2.println("Serial2 setup() start");
while (1) {
Serial.println("setup alive...");
Serial2.println("Serial2 setup alive...");
delay(1000);
}
}
void loop() {
// Not used.
}