diff options
Diffstat (limited to 'keyboards/handwired/onekey/sipeed_longan_nano')
-rw-r--r-- | keyboards/handwired/onekey/sipeed_longan_nano/config.h | 2 | ||||
-rw-r--r-- | keyboards/handwired/onekey/sipeed_longan_nano/info.json | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/handwired/onekey/sipeed_longan_nano/config.h b/keyboards/handwired/onekey/sipeed_longan_nano/config.h index 71ac29e882..1e39cf3f1d 100644 --- a/keyboards/handwired/onekey/sipeed_longan_nano/config.h +++ b/keyboards/handwired/onekey/sipeed_longan_nano/config.h @@ -20,8 +20,6 @@ #define BACKLIGHT_PWM_DRIVER PWMD5 /* GD32 numbering scheme starts from 0, TIMER4 on GD32 boards is TIMER5 on STM32 boards. */ #define BACKLIGHT_PWM_CHANNEL 2 /* GD32 numbering scheme starts from 0, Channel 1 on GD32 boards is Channel 2 on STM32 boards. */ -#define RGB_CI_PIN B13 - #define ADC_PIN A0 #define I2C1_CLOCK_SPEED 1000000 /* GD32VF103 supports fast mode plus. */ diff --git a/keyboards/handwired/onekey/sipeed_longan_nano/info.json b/keyboards/handwired/onekey/sipeed_longan_nano/info.json index d14928139b..28aa8a2fdc 100644 --- a/keyboards/handwired/onekey/sipeed_longan_nano/info.json +++ b/keyboards/handwired/onekey/sipeed_longan_nano/info.json @@ -10,7 +10,11 @@ "backlight": { "pin": "A1" }, - "rgblight": { + "ws2812": { "pin": "A2" + }, + "apa102": { + "data_pin": "A2", + "clock_pin": "B13" } } |