aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorDanny Nguyen <danny@80pct.com>2017-03-23 12:23:20 -0400
committerDanny Nguyen <danny@80pct.com>2017-03-23 12:23:20 -0400
commit63e47a642536ca7af22ef353cf7d19677f48b013 (patch)
tree00ba8bb888013f72b741ea1e3fbdad4c10089a10 /keyboards
parente5c5902e95840876f1e51c3e8e0a93311676fa27 (diff)
downloadqmk_firmware-63e47a642536ca7af22ef353cf7d19677f48b013.tar.gz
qmk_firmware-63e47a642536ca7af22ef353cf7d19677f48b013.zip
Add RGB support for Let’s Split v1
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/lets_split/keymaps/hexwire/config.h1
-rw-r--r--keyboards/lets_split/rev1/config.h7
2 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/lets_split/keymaps/hexwire/config.h b/keyboards/lets_split/keymaps/hexwire/config.h
index 38b57266a..9c8c6d7f4 100644
--- a/keyboards/lets_split/keymaps/hexwire/config.h
+++ b/keyboards/lets_split/keymaps/hexwire/config.h
@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
21#define TAPPING_TERM 150 21#define TAPPING_TERM 150
22 22
23#undef RGBLED_NUM 23#undef RGBLED_NUM
24#define RGB_DI_PIN B0
25#define RGBLIGHT_ANIMATIONS 24#define RGBLIGHT_ANIMATIONS
26#define RGBLED_NUM 8 25#define RGBLED_NUM 8
27#define RGBLIGHT_HUE_STEP 8 26#define RGBLIGHT_HUE_STEP 8
diff --git a/keyboards/lets_split/rev1/config.h b/keyboards/lets_split/rev1/config.h
index 2f5bde953..5fb87cf5d 100644
--- a/keyboards/lets_split/rev1/config.h
+++ b/keyboards/lets_split/rev1/config.h
@@ -63,6 +63,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
63 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ 63 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
64) 64)
65 65
66/* ws2812 RGB LED */
67#define RGB_DI_PIN D3
68#define RGBLIGHT_TIMER
69#define RGBLED_NUM 16 // Number of LEDs
70#define ws2812_PORTREG PORTD
71#define ws2812_DDRREG DDRD
72
66/* 73/*
67 * Feature disable options 74 * Feature disable options
68 * These options are also useful to firmware size reduction. 75 * These options are also useful to firmware size reduction.