Skip to content

Proposal: Update The Use Of attachInterrupt In README.md #123

@ptoshkov

Description

@ptoshkov

Hello,

Thanks for the great project.

In the README there is an example using attachInterrupt without checking the pin with digitalPinToInterrupt.

Proposal:
Change
attachInterrupt(0, irqHandler, FALLING);
to
attachInterrupt(digitalPinToInterrupt(0), irqHandler, FALLING);

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