I'm using an NUCLEO F103 board and try to send monitor data over Serial1.
This works in setup:
Code: Select all
void setup() {
HardwareSerial Serial1(PA10, PA9);
Serial1.begin(9600);
Serial1.println("Testpoint 1");
......
or globally for classes in other files.