From 297aad6ebd8577e826ea738cde25207a61337dc0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 24 Mar 2020 14:32:23 +1100 Subject: Set backlight and RGB pins for AVR onekeys (#8533) * Set backlight and RGB pins for AVR onekeys * Set pin for ADC as well * Define ADC_PIN for F4 blackpills * Use A0 for F4 ADCs * Set ADC pins for F0 and F1 --- keyboards/handwired/onekey/proton_c/config.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'keyboards/handwired/onekey/proton_c/config.h') diff --git a/keyboards/handwired/onekey/proton_c/config.h b/keyboards/handwired/onekey/proton_c/config.h index fe34f94ad..3ba4ba649 100644 --- a/keyboards/handwired/onekey/proton_c/config.h +++ b/keyboards/handwired/onekey/proton_c/config.h @@ -18,8 +18,8 @@ #include "config_common.h" -#define MATRIX_COL_PINS { A3 } -#define MATRIX_ROW_PINS { A2 } +#define MATRIX_COL_PINS { A2 } +#define MATRIX_ROW_PINS { A1 } #define UNUSED_PINS #define BACKLIGHT_PIN B8 @@ -27,4 +27,6 @@ #define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PAL_MODE 2 -#define RGB_DI_PIN A1 +#define RGB_DI_PIN A0 + +#define ADC_PIN A0 -- cgit v1.2.3-70-g09d2