diff --git a/src/Keypad.cpp b/src/Keypad.cpp index f146a6d..8e7e8ac 100644 --- a/src/Keypad.cpp +++ b/src/Keypad.cpp @@ -32,7 +32,7 @@ #include // <> Allows custom keymap, pin configuration, and keypad sizes. -Keypad::Keypad(char *userKeymap, byte *row, byte *col, byte numRows, byte numCols) { +Keypad::Keypad(char *userKeymap, uint8_t *row, uint8_t *col, uint8_t numRows, uint8_t numCols) { rowPins = row; columnPins = col; sizeKpd.rows = numRows; @@ -82,15 +82,15 @@ bool Keypad::getKeys() { // Private : Hardware scan void Keypad::scanKeys() { // Re-intialize the row pins. Allows sharing these pins with other hardware. - for (byte r=0; r