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

Swapped the Serial.begin and delay around.
All that happens is it prints the computer time in the monitor (was doing it before)

Is this anything to do with setting interrupts?