|
|
@ -40,15 +40,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) |
|
|
|
* |
|
|
|
*/ |
|
|
|
#define MATRIX_ROW_PINS { E6, D7 } |
|
|
|
#define MATRIX_COL_PINS { F7, B1, B3, B2 } |
|
|
|
#define MATRIX_ROW_PINS { B5, B4 } |
|
|
|
#define MATRIX_COL_PINS { B6, C6, C7, D4 } |
|
|
|
#define UNUSED_PINS |
|
|
|
|
|
|
|
/* COL2ROW or ROW2COL */ |
|
|
|
#define DIODE_DIRECTION COL2ROW |
|
|
|
|
|
|
|
#define ENCODERS_PAD_A { D1 } |
|
|
|
#define ENCODERS_PAD_B { D0 } |
|
|
|
#define ENCODERS_PAD_A { D7 } |
|
|
|
#define ENCODERS_PAD_B { D6 } |
|
|
|
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
|
|
|
#define DEBOUNCE 5 |
|
|
|