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

Hi again.
Been finishing another project before coming back to this.
I also needed to do a small re-wire on the board so I could use the Xiao USB whilst the DCC signal was applied

I didn’t trap the ISR routine, as to be honest, I got a bit lost in what needs to be done. :frowning_with_open_mouth: