Concerning the Keypad.h lib.
Is there a little example or tutorial on how keyStateChanged() works?
Thanks,
Paul
Concerning the Keypad.h lib.
Is there a little example or tutorial on how keyStateChanged() works?
Thanks,
Paul
yep, it isnt specific per key, just as a general state for the whole keypad.
if( keypad.getState() == HOLD) //replace HOLD with IDLE, PRESSED, RELEASED
{
//do something if ...
}
also see: Arduino Forum
Perfect.
Thanks.
paul