summaryrefslogtreecommitdiffstats
path: root/keyboards/ymd75/backlight_custom.h
diff options
context:
space:
mode:
authorWarmCat <32871908+WarmCatUK@users.noreply.github.com>2018-05-14 18:43:12 +0200
committerDrashna Jaelre <drashna@live.com>2018-05-14 18:43:12 +0200
commit2b06623fa0c8652e62abe96b1e89853974950c53 (patch)
treefb3f08ba0b21ee0865a7de231c925386735571df /keyboards/ymd75/backlight_custom.h
parent7d49a17781f25acd83b7d5122f2eafb4053fc15b (diff)
downloadqmk_firmware-2b06623fa0c8652e62abe96b1e89853974950c53.tar.gz
qmk_firmware-2b06623fa0c8652e62abe96b1e89853974950c53.tar.xz
Added YMD75 support (#2968)
* Adding ymd75 files * Added YMD75 support, inc layout json * Added YMD75 support
Diffstat (limited to 'keyboards/ymd75/backlight_custom.h')
-rw-r--r--keyboards/ymd75/backlight_custom.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/ymd75/backlight_custom.h b/keyboards/ymd75/backlight_custom.h
new file mode 100644
index 000000000..7210be840
--- /dev/null
+++ b/keyboards/ymd75/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