PWM Mysterious - XIAO SAMD21

how are you planning to accuate the track switches?