PWM for 3-phase Inverter

As I said:

I've realised the Mega has some timers with 3 output pins, and this allows a
clever way to modulate 3 output signals for doing this.

The Uno timers only have two output pins each.

[ Just checked, the ATmega32U4 has 3 outputs on timer1, that's
used on the Leonardo, and they correspond to pins 9/10/11 ]