PWM frequency not what I expected