From d777a058642326921785961d6a2e10f2eb826c44 Mon Sep 17 00:00:00 2001 From: Maarten Dekkers Date: Fri, 6 Apr 2018 01:16:35 +0200 Subject: Add support for rev3 of the Atom47 (#2672) * Added support for rev3 of the Atom47 * Updated Atom47 readme's * Fix redefine error on rev2 and add maartenwut's keymap * Fix redefine error on LEdiodes keymap --- keyboards/atom47/config.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'keyboards/atom47/config.h') diff --git a/keyboards/atom47/config.h b/keyboards/atom47/config.h index 410650f71..5743a9eb5 100644 --- a/keyboards/atom47/config.h +++ b/keyboards/atom47/config.h @@ -34,8 +34,8 @@ along with this program. If not, see . // ROWS: Top to bottom, COLS: Left to right -#define MATRIX_ROW_PINS {B1,B2,B3,B7} -#define MATRIX_COL_PINS {D7,D5,F0,F1,F4,F6,F7,D4,C7,C6,D6,B5,B4} +#define MATRIX_ROW_PINS {B3,B2,B1,B0} +#define MATRIX_COL_PINS {B7,F0,F1,F4,F6,D4,D6,D7,B4,B5,C6,C7,F7} #define UNUSED_PINS #define BACKLIGHT_PIN B6 @@ -49,10 +49,6 @@ along with this program. If not, see . /* Set 0 if debouncing isn't needed */ #define DEBOUNCING_DELAY 5 -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE /* key combination for command */ #define IS_COMMAND() ( \ @@ -63,11 +59,11 @@ along with this program. If not, see . */ #define BACKLIGHT_LEVELS 4 -#endif +#define RGB_DI_PIN F5 // The pin the LED strip is connected to +#define RGBLED_NUM 6 // Number of LEDs in your strip -#define RGB_DI_PIN D0 // The pin the LED strip is connected to -#define RGBLED_NUM 1 // Number of LEDs in your strip +#define QMK_ESC_OUTPUT B7 // usually COL +#define QMK_ESC_INPUT B3 // usually ROW +#define QMK_LED E6 -#define QMK_ESC_OUTPUT D7 // usually COL -#define QMK_ESC_INPUT B1 // usually ROW -#define QMK_LED B6 \ No newline at end of file +#endif -- cgit v1.2.3-24-g4f1b