Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button example is out of date #40

Open
stephenhensley opened this issue Feb 2, 2022 · 1 comment
Open

Button example is out of date #40

stephenhensley opened this issue Feb 2, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@stephenhensley
Copy link
Collaborator

The Button API changed at some point, adding an optional argument for pinmode.

The Button example no longer compiles.

Proposed Fix: set default argument of INPUT_PULLUP for mode argument.

@stephenhensley stephenhensley added the bug Something isn't working label Feb 2, 2022
@Dr-McFish
Copy link

+1. I was just starting with the daisy and ran straight into this issue. electrosmith pls fix.
Just so I understand you, are you proposing to change the example code or the actual library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants