MySensorsArduinoExamples icon indicating copy to clipboard operation
MySensorsArduinoExamples copied to clipboard

Dimmer only turns 100°

Open fringefilmsoz opened this issue 8 years ago • 0 comments

When running this sketch, the servo only turns 100° of rotation.

I was able to rectify by changing the following line: myservo.write(SERVO_MAX + (SERVO_MIN-SERVO_MAX)/100 * 1.8 * val); // sets the servo position 0-180

fringefilmsoz avatar Nov 12 '16 12:11 fringefilmsoz