open loop PWM with half sine works