Skip to content

Dimmer only turns 100° #13

Open
Open
@fringefilmsoz

Description

@fringefilmsoz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions