sensors and pwm ok now