electro-smith / DaisyDuino

Arduino Support for the Daisy Audio Platform.
https://www.electro-smith.com/daisy
MIT License
92 stars 20 forks source link

Button example is out of date #40

Open stephenhensley opened 2 years ago

stephenhensley commented 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.

Dr-McFish commented 2 years ago

+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?