]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Added support for RGB on the Tada68
authorMaarten Dekkers <maartenn2001@gmail.com>
Tue, 4 Jul 2017 16:49:12 +0000 (18:49 +0200)
committerJack Humbert <jack.humb@gmail.com>
Wed, 5 Jul 2017 15:48:19 +0000 (11:48 -0400)
keyboards/tada68/Makefile [changed mode: 0644->0755]
keyboards/tada68/config.h [changed mode: 0644->0755]
keyboards/tada68/keymaps/default/Makefile [changed mode: 0644->0755]
keyboards/tada68/keymaps/default/keymap.c [changed mode: 0644->0755]
keyboards/tada68/keymaps/default/readme.md [changed mode: 0644->0755]
keyboards/tada68/readme.md [changed mode: 0644->0755]
keyboards/tada68/rules.mk [changed mode: 0644->0755]
keyboards/tada68/tada68.c [changed mode: 0644->0755]
keyboards/tada68/tada68.h [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 19cf9c9..856509f
@@ -66,15 +66,12 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* 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
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index f28116e..ef26734
@@ -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),
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index dbe2fdc..f43befa
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)