Added support for RGB on the Tada68

This commit is contained in:
Maarten Dekkers 2017-07-04 18:49:12 +02:00 committed by Jack Humbert
parent b228cf7ba4
commit 7f82275a4d
9 changed files with 12 additions and 11 deletions

0
keyboards/tada68/Makefile Normal file → Executable file
View File

11
keyboards/tada68/config.h Normal file → Executable file
View File

@ -66,15 +66,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underlight configuration /* Underlight configuration
*/ */
/*#define RGB_DI_PIN E2 #define RGB_DI_PIN F5 // See the readme for wiring your ws2812's
#define RGBLIGHT_ANIMATIONS #define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 2 // Number of LEDs #define RGBLED_NUM 2 // Number of LEDs
#define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 17*/ #define RGBLIGHT_VAL_STEP 8
//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.
/* /*
* Feature disable options * Feature disable options

0
keyboards/tada68/keymaps/default/Makefile Normal file → Executable file
View File

6
keyboards/tada68/keymaps/default/keymap.c Normal file → Executable file
View File

@ -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 | * | | 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 | * | |<- |Dn | ->| | | | | | | | | |End |
* |----------------------------------------------------------------| * |----------------------------------------------------------------|
* | | | |Bl-|BL |BL+| |VU-|VU+|MUT| |MouseL|MsU|Rck | * | | | |Bl-|BL |BL+| |VU-|VU+|MUT| | McL|MsU|McR |
* |----------------------------------------------------------------| * |----------------------------------------------------------------|
* | | | | | | | |MsL|MsD|MsR | * | | | | | | | |MsL|MsD|MsR |
* `----------------------------------------------------------------' * `----------------------------------------------------------------'
*/ */
[_FL] = KEYMAP_ANSI( [_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_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, \ _______,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, \ _______,_______,_______,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), _______,_______,_______, _______, _______,_______,_______,KC_MS_L,KC_MS_D, KC_MS_R),

0
keyboards/tada68/keymaps/default/readme.md Normal file → Executable file
View File

6
keyboards/tada68/readme.md Normal file → Executable file
View File

@ -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. 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! 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)

0
keyboards/tada68/rules.mk Normal file → Executable file
View File

0
keyboards/tada68/tada68.c Normal file → Executable file
View File

0
keyboards/tada68/tada68.h Normal file → Executable file
View File