Skip to content

Remove polling functionality in example InterruptRotator.ino #38

Open
@sysshad

Description

@sysshad

Line 95 - This call is not needed when using interrupts :)
encoder->tick(); // just call tick() to check the state.

Also lines 108 to 114 should be moved to the begin function, and update comments for newbies to understand it better :)

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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions