thank you for providing such a great article with explanation. can you please modify the same code by using timer 0 and timer 2 as i am doing a three phase inverter and i need three spwm signals from arduino uno.