1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/handwired/symmetric70_proto/promicro/config.h
James Young 89b9a39614
Migrate LOCKING_*_ENABLE to Data-Driven: H, Part 4 (#23764)
Affects:

  - `handwired/reclined`
  - `handwired/retro_refit`
  - `handwired/selene`
  - `handwired/sick68`
  - `handwired/sick_pad`
  - `handwired/skakunm_dactyl`
  - `handwired/slash`
  - `handwired/snatchpad`
  - `handwired/sono1`
  - `handwired/space_oddity`
  - `handwired/split89`
  - `handwired/split_cloud`
  - `handwired/steamvan/rev1`
  - `handwired/sticc14`
  - `handwired/stream_cheap/2x3`
  - `handwired/stream_cheap/2x4`
  - `handwired/stream_cheap/2x5`
  - `handwired/symmetric70_proto/promicro`
  - `handwired/symmetric70_proto/proton_c`
  - `handwired/symmetry60`
  - `handwired/tennie`
  - `handwired/terminus_mini`
  - `handwired/trackpoint`
  - `handwired/tritium_numpad`
  - `handwired/twadlee/tp69`
  - `handwired/unk/rev1`
  - `handwired/uthol/rev3`
  - `handwired/videowriter`
  - `handwired/wabi`
  - `handwired/woodpad`
2024-05-21 23:57:59 +01:00

67 lines
1.7 KiB
C

/*
Copyright 2020-2021 mtei
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
/* Pro Micro **************************
====
+-------====------+
MDEBUG | D3/TXO RAW |
| D2/RXI GND |
| GND RST |
| GND Vcc |
| D1/SDA F4 | COL_0_1_L
| D0/SCL F5 | COL_2_3_L
ROW_0 | D4 F6 | COL_4_5_L
ROW_1 | C6 F7 | COL_6_7_L
ROW_2 | D7 SCK/B1 | COL_6_7_R
ROW_3 | E6 MISO/B3 | COL_4_5_R
ROW_4 | B4 MOSI/B2 | COL_2_3_R
SEL_AB | B5 B6 | COL_0_1_R
+-----------------+
***************************************/
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#ifdef DEBUG_CONFIG
# define MATRIX_DEBUG_PIN D3
# include "../debug_config.h"
#endif