Browse Source

Add RGB support for Let’s Split v1

pull/1172/head
Danny Nguyen 7 years ago
parent
commit
63e47a6425
2 changed files with 7 additions and 1 deletions
  1. +0
    -1
      keyboards/lets_split/keymaps/hexwire/config.h
  2. +7
    -0
      keyboards/lets_split/rev1/config.h

+ 0
- 1
keyboards/lets_split/keymaps/hexwire/config.h View File

@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TERM 150
#undef RGBLED_NUM
#define RGB_DI_PIN B0
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 8
#define RGBLIGHT_HUE_STEP 8


+ 7
- 0
keyboards/lets_split/rev1/config.h View File

@ -63,6 +63,13 @@ 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 RGB_DI_PIN D3
#define RGBLIGHT_TIMER
#define RGBLED_NUM 16 // Number of LEDs
#define ws2812_PORTREG PORTD
#define ws2812_DDRREG DDRD
/*
* Feature disable options
* These options are also useful to firmware size reduction.


Loading…
Cancel
Save