How compatible is the Xiao to an Arduino e.g. Nano?

Back on the case

I have now tried Serial.println(func); (with 2 underscores each side of the word “func”) in the DCC_interrupt section of dcc_decoder.cpp.
I have “Serial.begin(9600)” in the void setup() section of the sketch.
I am running the serial monitor but don’t get any output when sending commands to the Xiao.

I changed the Serial.print command to “Serial.println(“This is the message to look for”)”

Still does anything print