Pwm write update to use new scaledDuty in the drivers.