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/promicro/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'keyboards/handwired/onekey/promicro') diff --git a/keyboards/handwired/onekey/promicro/config.h b/keyboards/handwired/onekey/promicro/config.h index fbcd630d7..167373cd3 100644 --- a/keyboards/handwired/onekey/promicro/config.h +++ b/keyboards/handwired/onekey/promicro/config.h @@ -21,3 +21,9 @@ #define MATRIX_COL_PINS { F4 } #define MATRIX_ROW_PINS { F5 } #define UNUSED_PINS + +#define BACKLIGHT_PIN B6 + +#define RGB_DI_PIN F6 + +#define ADC_PIN F6 -- cgit v1.2.3-70-g09d2