summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk_np21/backlight_custom.h
blob: 7210be840e09c82a347b3e1b1ac59d0319577822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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