Skip to content

Using buttons with multiple encoders #2

@guibom

Description

@guibom

I was having issues using multiple encoder objects with their buttons.

Only the first object that runs the service function would update their value.
The actual encoder part of the object runs fine and keeps their individual positions.

My solution (not sure if ideal) was to remove the static variables keyDownTicks, doubleClickTicks, lastButtonCheck from the service function and move them to the header file.

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