Dual PWM/DCC controller