Skip to content

Initialize with Different Debounce Delay #16

@arcanine84

Description

@arcanine84

This is probably something I am doing wrong, but I don't know what it is. I tried changing my Button initialization code to use a different debounce delay, and it won't compile. You'll notice the other buttons (btnLight, btnFanOff) initialize fine.

Button btnFanUp(32, 50);

Gives the following error:
Image

I even tried forcing the types:
Button btnFanUp(uint8_t(32), uint16_t(50));

But, I get a similar error:
Image

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