diff options
Diffstat (limited to 'keyboards/ymdk_np21/backlight_custom.h')
| -rw-r--r-- | keyboards/ymdk_np21/backlight_custom.h | 15 |
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 000000000..7210be840 --- /dev/null +++ b/keyboards/ymdk_np21/backlight_custom.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | /** | ||
| 2 | * Backlighting code for PS2AVRGB boards (ATMEGA32A) | ||
| 3 | * Kenneth A. (github.com/krusli | krusli.me) | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef BACKLIGHT_CUSTOM_H | ||
| 7 | #define BACKLIGHT_CUSTOM_H | ||
| 8 | |||
| 9 | #include <avr/pgmspace.h> | ||
| 10 | void b_led_init_ports(void); | ||
| 11 | void b_led_set(uint8_t level); | ||
| 12 | void b_led_task(void); | ||
| 13 | void setPWM(uint16_t xValue); | ||
| 14 | |||
| 15 | #endif // BACKLIGHT_CUSTOM_H | ||
