qmk_firmware/keyboards/framework/macropad/config.h
Daniel Schaefer 7c414248c5 fl16: Set RGB current limit to stay under 500mA
Also reduces noise even further.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-20 19:00:11 +08:00

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