The keypad library I have returns NO_KEY if no key is read. NO_KEY is:
const char NO_KEY = '\0';
So that should, effectively, be "false" in a boolean test.
The keypad library I have returns NO_KEY if no key is read. NO_KEY is:
const char NO_KEY = '\0';
So that should, effectively, be "false" in a boolean test.