Skip to content

ERRROR compiling example SimpleOnButton #147

Closed
@maxelle

Description

@maxelle

Compiling your simple example I receive this error

c:\Arduino2\libraries\OneButton\src\OneButton.cpp: In constructor 'OneButton::OneButton(int, bool, bool)':
c:\Arduino2\libraries\OneButton\src\OneButton.cpp:33:7: error: too many arguments to function 'void init()'
33 | init(pin, pullupActive ? INPUT_PULLUP : INPUT, activeLow);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\Arduino2\libraries\OneButton\src\OneButton.h:28,
from c:\Arduino2\libraries\OneButton\src\OneButton.cpp:19:

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