3 by 4 edited
Fork of keypad by
Diff: Keypad.h
- Revision:
- 11:86fef9e61104
- Parent:
- 10:da060f8c03e8
--- a/Keypad.h Wed Jan 01 17:45:53 2014 +0000 +++ b/Keypad.h Fri Nov 04 17:49:53 2016 +0000 @@ -85,7 +85,7 @@ * @param debounce_ms Debounce in ms (Default to 20ms) */ Keypad(PinName r0, PinName r1, PinName r2, PinName r3, - PinName c0, PinName c1, PinName c2, PinName c3, + PinName c0, PinName c1, PinName c2, int debounce_ms = 20); /** Destructor @@ -108,7 +108,7 @@ protected: InterruptIn *_rows[4]; - DigitalOut *_cols[4]; + DigitalOut *_cols[3]; int _debounce; // miliseconds int _nRow; int _nCol;