From 7f82275a4dfa7a470f89b65308541134e5af9909 Mon Sep 17 00:00:00 2001 From: Maarten Dekkers Date: Tue, 4 Jul 2017 18:49:12 +0200 Subject: [PATCH] Added support for RGB on the Tada68 --- keyboards/tada68/Makefile | 0 keyboards/tada68/config.h | 11 ++++------- keyboards/tada68/keymaps/default/Makefile | 0 keyboards/tada68/keymaps/default/keymap.c | 6 +++--- keyboards/tada68/keymaps/default/readme.md | 0 keyboards/tada68/readme.md | 6 +++++- keyboards/tada68/rules.mk | 0 keyboards/tada68/tada68.c | 0 keyboards/tada68/tada68.h | 0 9 files changed, 12 insertions(+), 11 deletions(-) mode change 100644 => 100755 keyboards/tada68/Makefile mode change 100644 => 100755 keyboards/tada68/config.h mode change 100644 => 100755 keyboards/tada68/keymaps/default/Makefile mode change 100644 => 100755 keyboards/tada68/keymaps/default/keymap.c mode change 100644 => 100755 keyboards/tada68/keymaps/default/readme.md mode change 100644 => 100755 keyboards/tada68/readme.md mode change 100644 => 100755 keyboards/tada68/rules.mk mode change 100644 => 100755 keyboards/tada68/tada68.c mode change 100644 => 100755 keyboards/tada68/tada68.h diff --git a/keyboards/tada68/Makefile b/keyboards/tada68/Makefile old mode 100644 new mode 100755 diff --git a/keyboards/tada68/config.h b/keyboards/tada68/config.h old mode 100644 new mode 100755 index 19cf9c9b3..856509fd0 --- a/keyboards/tada68/config.h +++ b/keyboards/tada68/config.h @@ -66,15 +66,12 @@ along with this program. If not, see . /* Underlight configuration */ -/*#define RGB_DI_PIN E2 +#define RGB_DI_PIN F5 // See the readme for wiring your ws2812's #define RGBLIGHT_ANIMATIONS #define RGBLED_NUM 2 // Number of LEDs -#define RGBLIGHT_HUE_STEP 10 -#define RGBLIGHT_SAT_STEP 17 -#define RGBLIGHT_VAL_STEP 17*/ -//Disabled while I figure out a suitable pin for RGB support. -//I've tried F5, D2, D3, and E2 but it's possible the end of my -//strand is bad. New LEDs on order. +#define RGBLIGHT_HUE_STEP 8 +#define RGBLIGHT_SAT_STEP 8 +#define RGBLIGHT_VAL_STEP 8 /* * Feature disable options diff --git a/keyboards/tada68/keymaps/default/Makefile b/keyboards/tada68/keymaps/default/Makefile old mode 100644 new mode 100755 diff --git a/keyboards/tada68/keymaps/default/keymap.c b/keyboards/tada68/keymaps/default/keymap.c old mode 100644 new mode 100755 index f28116e0a..ef267348d --- a/keyboards/tada68/keymaps/default/keymap.c +++ b/keyboards/tada68/keymaps/default/keymap.c @@ -34,18 +34,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * ,----------------------------------------------------------------. * | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Ins | * |----------------------------------------------------------------| - * | | |Up | | | | | | | | | | | |Hme | + * | | |Up | | |RGB|MOD|HU-|HU+|SA-|SA+|VA-|VA+| |Hme | * |----------------------------------------------------------------| * | |<- |Dn | ->| | | | | | | | | |End | * |----------------------------------------------------------------| - * | | | |Bl-|BL |BL+| |VU-|VU+|MUT| |MouseL|MsU|Rck | + * | | | |Bl-|BL |BL+| |VU-|VU+|MUT| | McL|MsU|McR | * |----------------------------------------------------------------| * | | | | | | | |MsL|MsD|MsR | * `----------------------------------------------------------------' */ [_FL] = KEYMAP_ANSI( _______, KC_F1 ,KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS , \ - _______,_______,KC_UP, _______,_______,_______,_______,_______,_______,_______,_______, BL_DEC,BL_INC, BL_TOGG,KC_HOME, \ + _______,_______,_______,_______, KC_UP, RGB_TOG,RGB_MOD,RGB_HUI,RGB_HUD,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD, _______,KC_HOME, \ _______,KC_LEFT,KC_DOWN,KC_RIGHT,_______,_______,_______,_______,_______,_______,_______,_______, _______,KC_END, \ _______,_______,_______,BL_DEC, BL_TOGG,BL_INC, _______,KC_VOLD,KC_VOLU,KC_MUTE,_______,KC_BTN1, KC_MS_U, KC_BTN2, \ _______,_______,_______, _______, _______,_______,_______,KC_MS_L,KC_MS_D, KC_MS_R), diff --git a/keyboards/tada68/keymaps/default/readme.md b/keyboards/tada68/keymaps/default/readme.md old mode 100644 new mode 100755 diff --git a/keyboards/tada68/readme.md b/keyboards/tada68/readme.md old mode 100644 new mode 100755 index dbe2fdca1..f43befa5f --- a/keyboards/tada68/readme.md +++ b/keyboards/tada68/readme.md @@ -12,4 +12,8 @@ $ make flashbin 4) Delete `FLASH.BIN` from the TADA drive and copy `tada68_default.bin` that was generated at the root of the qmk directory into the TADA drive. -5) Hit ESC on the keyboard. The lights will stop flashing and your firmware is loaded! \ No newline at end of file +5) Hit ESC on the keyboard. The lights will stop flashing and your firmware is loaded! + +## RGB +This board has unused pins, which means that you can add some nice RGB leds, although they have no use at this moment. Not a single transparent case has been made yet. Here's where you have to solder the wires on the PCB: +![Image of KC60 with RGB Underglow](http://i.imgur.com/5Xmiz6Q.jpg) \ No newline at end of file diff --git a/keyboards/tada68/rules.mk b/keyboards/tada68/rules.mk old mode 100644 new mode 100755 diff --git a/keyboards/tada68/tada68.c b/keyboards/tada68/tada68.c old mode 100644 new mode 100755 diff --git a/keyboards/tada68/tada68.h b/keyboards/tada68/tada68.h old mode 100644 new mode 100755