Button Library doesn't work?
http://playground.arduino.cc/code/button
there seems problem library. example code doesn't compile, , tried on 2 different operating systems.
error running example code:
if remove word pullup line, works. need pull-ups turned on.
there seems problem library. example code doesn't compile, , tried on 2 different operating systems.
error running example code:
quote
arduino: 1.0.6 (mac os x), board: "arduino uno"button button = button(12,pullup);
button:27: error: 'pullup' not declared in scope
if remove word pullup line, works. need pull-ups turned on.
quote
button:27: error: 'pullup' not declared in scopebecause term button_pullup, not pullup.
Arduino Forum > Using Arduino > Programming Questions > Button Library doesn't work?
arduino
Still get "BUTTON_PULLUP" was not declared in this scope. Might it be because Arduino v 1.6.5 doesn't support it ?
ReplyDelete