modify pwm frequence.