Skip to content

debounce only works in pressHandler not for isPressed() method #2

@rwijngaa

Description

@rwijngaa

Hi,

i noticed the debounce functionality only works in pressHandlers, but not when
you call isPressed() method in the loop().

I instantiated the button like this
Button myButton = Button(19, BUTTON_PULLDOWN, true, 50);

Thanks!

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