7c414248c5
Also reduces noise even further. Signed-off-by: Daniel Schaefer <dhs@frame.work>
17 lines
511 B
C
17 lines
511 B
C
// Copyright 2022 Framework Computer
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#define MATRIX_COLS 8
|
|
#define MATRIX_ROWS 4
|
|
|
|
#define DRIVER_COUNT 1
|
|
#define DRIVER_ADDR_1 0b0100000
|
|
#define RGB_MATRIX_LED_COUNT 24
|
|
// Enable only the first 4 SW and disable software shutdown
|
|
// Otherwise voltage on SW pins without LEDs causes voltage rise and noise
|
|
#define ISSI_CONFIGURATION 0x71
|
|
|
|
// Limit current to ensure max current draw is just about 500mA
|
|
// when white at 100% brightness
|
|
#define ISSI_GLOBALCURRENT 185
|