PWM button controls working