summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/bluepill/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/bluepill/config.h')
-rw-r--r--keyboards/handwired/onekey/bluepill/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/bluepill/config.h b/keyboards/handwired/onekey/bluepill/config.h
index 3d88ee00e5..01555e4315 100644
--- a/keyboards/handwired/onekey/bluepill/config.h
+++ b/keyboards/handwired/onekey/bluepill/config.h
@@ -21,3 +21,9 @@
#define MATRIX_COL_PINS { B0 }
#define MATRIX_ROW_PINS { A7 }
#define UNUSED_PINS
+
+#define BACKLIGHT_PIN A0
+#define BACKLIGHT_PWM_DRIVER PWMD2
+#define BACKLIGHT_PWM_CHANNEL 1
+
+#define RGB_DI_PIN A1