lotus: Config keyboard and gridpad individually

Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
Daniel Schaefer 2022-12-28 16:56:25 +08:00
parent 9b36033085
commit 31a9950b91
3 changed files with 7 additions and 7 deletions

View File

@ -19,13 +19,6 @@
#define WS2812_PIO_USE_PIO1
// Keyboard has 2 drivers, gridpad has 1
#define DRIVER_ADDR_1 0b0100000
#define DRIVER_ADDR_2 0b0100011
#define RGB_MATRIX_LED_COUNT 97
// For the numpad
// #define RGB_MATRIX_LED_COUNT 22
// PWM single one backlight configuration
// The RP2040 datasheet says GPIO25 maps to PWM channel 4B
// On the Raspberry Pi Pico this is the green LED on the board, good for prototyping

View File

@ -1 +1,6 @@
#define DRIVER_COUNT 2
#define DRIVER_ADDR_1 0b0100000
#define DRIVER_ADDR_2 0b0100011
#define DRIVER_1_LED_TOTAL 48
#define DRIVER_2_LED_TOTAL 49
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)

View File

@ -1 +1,3 @@
#define DRIVER_COUNT 1
#define DRIVER_ADDR_1 0b0100000
#define RGB_MATRIX_LED_COUNT 24