Skip to content

Dimmer only turns 100° #13

@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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @mfalkvidd@fringefilmsoz

        Issue actions

          Dimmer only turns 100° · Issue #13 · mysensors/MySensorsArduinoExamples