increaded pwm resoloution, tested working