Write to pwm pin when its ready