From 65a80f411f03be466d0b74c5b1d44f161e19ac7e Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 20 Mar 2023 08:12:19 +1100 Subject: Clean up APA102 config and add DD mapping (#20159) --- keyboards/handwired/onekey/blackpill_f401/config.h | 2 -- keyboards/handwired/onekey/blackpill_f401/info.json | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'keyboards/handwired/onekey/blackpill_f401') diff --git a/keyboards/handwired/onekey/blackpill_f401/config.h b/keyboards/handwired/onekey/blackpill_f401/config.h index 8000ee77d7..6183ee9819 100644 --- a/keyboards/handwired/onekey/blackpill_f401/config.h +++ b/keyboards/handwired/onekey/blackpill_f401/config.h @@ -23,8 +23,6 @@ #define ADC_PIN A0 -#define RGB_CI_PIN A2 - #define SOLENOID_PIN B12 #define SOLENOID_PINS { B12, B13, B14, B15 } #define SOLENOID_PINS_ACTIVE_STATE { high, high, low } diff --git a/keyboards/handwired/onekey/blackpill_f401/info.json b/keyboards/handwired/onekey/blackpill_f401/info.json index b79b17b000..6d75c549ce 100644 --- a/keyboards/handwired/onekey/blackpill_f401/info.json +++ b/keyboards/handwired/onekey/blackpill_f401/info.json @@ -10,5 +10,9 @@ }, "rgblight": { "pin": "A1" + }, + "apa102": { + "data_pin": "A1", + "clock_pin": "A2" } } -- cgit v1.2.3