diff options
Diffstat (limited to 'keyboards/planck/light/config.h')
| -rw-r--r-- | keyboards/planck/light/config.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/keyboards/planck/light/config.h b/keyboards/planck/light/config.h index 71c924904..17c015ed0 100644 --- a/keyboards/planck/light/config.h +++ b/keyboards/planck/light/config.h | |||
| @@ -24,5 +24,22 @@ | |||
| 24 | 24 | ||
| 25 | #define NO_USB_STARTUP_CHECK | 25 | #define NO_USB_STARTUP_CHECK |
| 26 | 26 | ||
| 27 | #define PLANCK_MIT_LAYOUT | ||
| 27 | 28 | ||
| 28 | #endif \ No newline at end of file | 29 | // This is a 7-bit address, that gets left-shifted and bit 0 |
| 30 | // set to 0 for write, 1 for read (as per I2C protocol) | ||
| 31 | // The address will vary depending on your wiring: | ||
| 32 | // 0b1110100 AD <-> GND | ||
| 33 | // 0b1110111 AD <-> VCC | ||
| 34 | // 0b1110101 AD <-> SCL | ||
| 35 | // 0b1110110 AD <-> SDA | ||
| 36 | #define DRIVER_ADDR_1 0b1110100 | ||
| 37 | #define DRIVER_ADDR_2 0b1110110 | ||
| 38 | |||
| 39 | #define DRIVER_COUNT 2 | ||
| 40 | #define DRIVER_1_LED_TOTAL 25 | ||
| 41 | #define DRIVER_2_LED_TOTAL 24 | ||
| 42 | #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL | ||
| 43 | |||
| 44 | |||
| 45 | #endif | ||
