diff options
author | muffinlynx <contact@donutcables.com> | 2018-04-26 10:30:05 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-04-26 07:30:05 -0700 |
commit | 10d287d1aa0340db369bc676d78eaa948e5dd650 (patch) | |
tree | ed58e53c1c054dd4bd3781869819fba0026daaee /keyboards | |
parent | eb89a372ec8950a853aef9e2730339465dc3dc2a (diff) | |
download | qmk_firmware-10d287d1aa0340db369bc676d78eaa948e5dd650.tar.gz qmk_firmware-10d287d1aa0340db369bc676d78eaa948e5dd650.zip |
ScrabblePad updates (#2809)
* Update config.h
Matrix pinout updated to current revision.
* Add updated matrix, define RGB pin
Matrix updated to current pinout, pin for WS2812 defined.
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/scrabblepad/config.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/keyboards/scrabblepad/config.h b/keyboards/scrabblepad/config.h index 01f847dd47..7039ea24f7 100644 --- a/keyboards/scrabblepad/config.h +++ b/keyboards/scrabblepad/config.h @@ -42,8 +42,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) * */ -#define MATRIX_ROW_PINS { D3, F1, C7, F2, C6, F3, C5, F4, C4, F5, C3, F6, C2, F7, C1 } -#define MATRIX_COL_PINS { D4, D5, D7, B7, D0, D1, D2, C0, F0, B4, B5, B6, E1, E7, E0 } +#define MATRIX_ROW_PINS { D5, F1, C7, F2, C6, F3, C5, F4, C4, F5, C3, F6, C2, F7, C1 } +#define MATRIX_COL_PINS { D6, D7, E0, B7, D2, D3, D4, E6, F0, B4, B5, B6, C0, E7, E1 } #define UNUSED_PINS /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ @@ -53,6 +53,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // #define BACKLIGHT_BREATHING // #define BACKLIGHT_LEVELS 3 +// ws2812 options +//#define RGB_DI_PIN A0 // pin the DI on the ws2812 is hooked-up to +//#define RGBLIGHT_ANIMATIONS // run RGB animations +//#define RGBLED_NUM 6 // number of LEDs +//#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue +//#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation +//#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) + /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCING_DELAY 5 |