pins all now are defined at microcontroller level

This commit is contained in:
Alin M Elena 2021-03-29 22:43:36 +01:00
parent 5c0485da8d
commit 4635228c42
2 changed files with 6 additions and 5 deletions

View File

@ -27,11 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 5
#define MATRIX_COLS 13
#define LED_NUM_LOCK_PIN B12
#define LED_CAPS_LOCK_PIN B13
#define UNUSED_PINS
#define DIODE_DIRECTION COL2ROW
#define DEBOUNCE 5

View File

@ -18,7 +18,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define DEVICE_VER 0x0001
#define LED_NUM_LOCK_PIN B12
#define LED_CAPS_LOCK_PIN B13
// 0 1 2 3 4
#define MATRIX_ROW_PINS { B11, B0, B1, A2, A3 }
// 0 1 2 3 4 5 6 7 8 9 10 11 12
#define MATRIX_COL_PINS {A10, A15, B3, B4, B5, B9, B8, B7, B6, C15, A0, A7, B10 }
#define UNUSED_PINS