diff options
author | Stephan Bösebeck <stephan.boesebeck@holidayinsider.com> | 2016-01-25 10:52:29 +0100 |
---|---|---|
committer | Stephan Bösebeck <stephan.boesebeck@holidayinsider.com> | 2016-01-25 10:52:29 +0100 |
commit | da7f259a1ff085946b87602905fca74577a29903 (patch) | |
tree | e6b1e5bd2a24a49c15e38368360b7263581f493f /keyboard/planck/config.h | |
parent | f958b2e83203e4e0ba1814d7c5936e20a337f0a8 (diff) | |
parent | 99c72d0d9b5baec52f801887ee595e623aaf0b3f (diff) | |
download | qmk_firmware-da7f259a1ff085946b87602905fca74577a29903.tar.gz qmk_firmware-da7f259a1ff085946b87602905fca74577a29903.zip |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboard/planck/config.h')
-rw-r--r-- | keyboard/planck/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboard/planck/config.h b/keyboard/planck/config.h index a4c711db82..d3719e0cb1 100644 --- a/keyboard/planck/config.h +++ b/keyboard/planck/config.h @@ -58,6 +58,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) +/* 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 + /* * Feature disable options * These options are also useful to firmware size reduction. |