summaryrefslogtreecommitdiff
path: root/keyboards/bminiex/backlight_custom.h
diff options
context:
space:
mode:
authora-chol <a-chol@users.noreply.github.com>2018-10-21 18:20:24 +0200
committerDrashna Jaelre <drashna@live.com>2018-10-21 09:20:24 -0700
commit8e3330bbf6f8c4faf39a3df20fa3ab62910c8b19 (patch)
tree9db8d6558b622c8f40f8bf0052fe11e960dfc3b6 /keyboards/bminiex/backlight_custom.h
parent877c285ec8c5509f665b558cb2bcaa89d6093055 (diff)
Keyboard: bminiex : Working backlight (#4171)
* bminiex : Working backlight * bminiex keyboard with fixes * bminiex keyboard more fixes
Diffstat (limited to 'keyboards/bminiex/backlight_custom.h')
-rw-r--r--keyboards/bminiex/backlight_custom.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/bminiex/backlight_custom.h b/keyboards/bminiex/backlight_custom.h
new file mode 100644
index 0000000000..51365fe3ba
--- /dev/null
+++ b/keyboards/bminiex/backlight_custom.h
@@ -0,0 +1,13 @@
+/**
+ * Backlighting code for PS2AVRGB boards (ATMEGA32A)
+ * Kenneth A. (github.com/krusli | krusli.me)
+ */
+
+#pragma once
+
+#include <avr/pgmspace.h>
+void b_led_init_ports(void);
+void b_led_set(uint8_t level);
+void b_led_task(void);
+void setPWM(uint16_t xValue);
+