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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/bluepill/config.h b/keyboards/handwired/onekey/bluepill/config.h
index 3d88ee00e5..81282ae1ff 100644
--- a/keyboards/handwired/onekey/bluepill/config.h
+++ b/keyboards/handwired/onekey/bluepill/config.h
@@ -21,3 +21,7 @@
#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