Open stephenhensley opened 2 years ago
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.
INPUT_PULLUP
mode
+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?
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
formode
argument.