summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorjotix <47826561+jotix@users.noreply.github.com>2019-03-06 00:59:11 +0100
committerDrashna Jaelre <drashna@live.com>2019-03-06 00:59:11 +0100
commitda2eedc0c2587ee8d11ee94cb61e17b4e8717265 (patch)
tree95155d371230be52d414f97c3af41eb814d54201 /keyboards/handwired
parent3aa4d55beefc37e8f02e49a97424fd507d033d9b (diff)
downloadqmk_firmware-da2eedc0c2587ee8d11ee94cb61e17b4e8717265.tar.gz
qmk_firmware-da2eedc0c2587ee8d11ee94cb61e17b4e8717265.tar.xz
[Keyboard] re-arrange the pinout for backlight support (#5321)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/jotanck/config.h6
-rw-r--r--keyboards/handwired/jotanck/readme.md8
2 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/handwired/jotanck/config.h b/keyboards/handwired/jotanck/config.h
index 7e022eeb0..d7707d48f 100644
--- a/keyboards/handwired/jotanck/config.h
+++ b/keyboards/handwired/jotanck/config.h
@@ -15,14 +15,14 @@
#define MATRIX_COLS 12
/* pro_micro pin-out */
-#define MATRIX_ROW_PINS { B4, B5, B6, B2 }
+#define MATRIX_ROW_PINS { D7, E6, B6, B2 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 }
#define UNUSED_PINS
/* leds */
-#define QMK_LED E6
+#define QMK_LED B4
#define BACKLIGHT_LEVELS 3
-#define BACKLIGHT_PIN B7
+#define BACKLIGHT_PIN B5
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/handwired/jotanck/readme.md b/keyboards/handwired/jotanck/readme.md
index 41b0ea401..e06cce8cf 100644
--- a/keyboards/handwired/jotanck/readme.md
+++ b/keyboards/handwired/jotanck/readme.md
@@ -12,8 +12,8 @@ Hardware Availability: [Mercado Libre](https://articulo.mercadolibre.com.ar/MLA-
| Rows | 0 | 1 | 2 | 3 |
|-------------|----|----|----|----|
-| Arduino pin | 8 | 9 | 10 | 16 |
-| QMK pin | B4 | B5 | B6 | B2 |
+| Arduino pin | 6 | 7 | 10 | 16 |
+| QMK pin | D7 | E6 | B6 | B2 |
| Columns | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|-------------|----|----|----|----|----|----|-----|-----|----|----|----|----|
@@ -22,8 +22,8 @@ Hardware Availability: [Mercado Libre](https://articulo.mercadolibre.com.ar/MLA-
| | QMK led | Backlight |
|-------------|-----------|-----------|
-| Arduino pin | 7 | 6 |
-| QMK pin | E6 | D7 |
+| Arduino pin | 8 | 9 |
+| QMK pin | B4 | B5 |
### Compiling the Firmware