Skip to content

How to setup range up/down for each encoder #118

Open
@gavron04

Description

@gavron04

Hello. How to add up and down range for each encoder? Like moving between 0 to 10 or different value? ESP32,

For example. Range between 0 and 3 (4 positions 0;1;2;3)

sel = encoder2.getCount();
if(sel>3)
{
  encoder2.pauseCount();
}

encoder go to 4 and then stop. Not 3 and when moving up for 4 - is paused.

I cant find easy solution in .cpp or .h for this.

Thanks for help

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