Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Keypad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ void Keypad::scanKeys() {
pin_mode(rowPins[r],INPUT_PULLUP);
}

// --- NEW FIX FOR RP2040 ---
#if defined(ARDUINO_ARCH_RP2040)
delayMicroseconds(20); // Settling time for high-speed RP2040 IO
#endif
// --------------------------

// bitMap stores ALL the keys that are being pressed.
for (byte c=0; c<sizeKpd.columns; c++) {
pin_mode(columnPins[c],OUTPUT);
Expand Down