small change to reverse port order on the pwm module