summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk_np21/backlight_custom.h
diff options
context:
space:
mode:
authorsanosis <github@sanosis.waw.pl>2018-01-28 21:58:03 +0100
committerJack Humbert <jack.humb@gmail.com>2018-01-28 15:58:03 -0500
commit2480e5d69a11fd0774d16e57384b69c1e92cbfc8 (patch)
tree18fc6b69054a032c8c2afabfd92ecbb8d3b6c558 /keyboards/ymdk_np21/backlight_custom.h
parent056ecb1463de9fd5ab17e4b15893b2fbd2b1c339 (diff)
Support for YMDK NP21 (#2316)
* ymdk_np21 initial support Base support of ymdk_np21 - based on jj40. Full grid layout * Update README.md Replacing description. * Adding YMDK NP21 to comunity list. Adding YMDK NP21 to community supported list.
Diffstat (limited to 'keyboards/ymdk_np21/backlight_custom.h')
-rw-r--r--keyboards/ymdk_np21/backlight_custom.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/ymdk_np21/backlight_custom.h b/keyboards/ymdk_np21/backlight_custom.h
new file mode 100644
index 0000000000..7210be840e
--- /dev/null
+++ b/keyboards/ymdk_np21/backlight_custom.h
@@ -0,0 +1,15 @@
+/**
+ * Backlighting code for PS2AVRGB boards (ATMEGA32A)
+ * Kenneth A. (github.com/krusli | krusli.me)
+ */
+
+#ifndef BACKLIGHT_CUSTOM_H
+#define BACKLIGHT_CUSTOM_H
+
+#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);
+
+#endif // BACKLIGHT_CUSTOM_H