I prepared how to swap PWM both hardware switch and software switch.
For swap, please refer to the TCPWM component manual.
If you press SW1, swap will occur only once.
Then release sw1 and press again to swap.
thank you very much for your sharing this CE.