increased pwm resolution, experimenting with pid