]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/planck/light/config.h
Adds IS31FL3731 RGB Matrix Implementation (#2910)
[qmk_firmware.git] / keyboards / planck / light / config.h
index 71c924904d69d65074b233216af21f06ccaaf7e8..17c015ed0fdfbb85822714115e0eeef60fe14003 100644 (file)
 
 #define NO_USB_STARTUP_CHECK
 
+#define PLANCK_MIT_LAYOUT
 
-#endif
\ No newline at end of file
+// This is a 7-bit address, that gets left-shifted and bit 0
+// set to 0 for write, 1 for read (as per I2C protocol)
+// The address will vary depending on your wiring:
+// 0b1110100 AD <-> GND
+// 0b1110111 AD <-> VCC
+// 0b1110101 AD <-> SCL
+// 0b1110110 AD <-> SDA
+#define DRIVER_ADDR_1 0b1110100
+#define DRIVER_ADDR_2 0b1110110
+
+#define DRIVER_COUNT 2
+#define DRIVER_1_LED_TOTAL 25
+#define DRIVER_2_LED_TOTAL 24
+#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL
+
+
+#endif