mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-24 02:19:54 +00:00
13bb6b4b7f
* redoes matrix pins, abstracts backlight code for B5,6,7 * slimming down keyboard stuff, backlight breathing implemented * don't call backlight init when no pin * cleans up user/kb/quantum calls, keyboard files * fix pvc atomic * replaces CHANNEL with correct var in breathing * removes .hexs, updates readmes, updates template * cleans-up clueboards, readmes to lowercase * updates readme
16 lines
314 B
C
16 lines
314 B
C
#ifndef CONFIG_USER_H
|
|
#define CONFIG_USER_H
|
|
|
|
#include "../../config.h"
|
|
|
|
/* ws2812 RGB LED */
|
|
#define ws2812_PORTREG PORTD
|
|
#define ws2812_DDRREG DDRD
|
|
#define ws2812_pin PD1
|
|
#define RGBLED_NUM 28 // Number of LEDs
|
|
#define RGBLIGHT_HUE_STEP 10
|
|
#define RGBLIGHT_SAT_STEP 17
|
|
#define RGBLIGHT_VAL_STEP 17
|
|
|
|
#endif
|