Now PWM is correct including the BLDC code.