diff options
author | Ryan <[email protected]> | 2023-09-24 12:36:06 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-24 03:36:06 +0100 |
commit | 59787a2e515b50eb84b5fb29ae20bfc61b49851f (patch) | |
tree | 65dca1afe340203ec653ba67d6ac222b68d0d995 /keyboards/input_club/infinity60/led/config.h | |
parent | 6424dadd3785d83ebbe17861ed9f9b495b8ba6ae (diff) | |
download | qmk_firmware-59787a2e515b50eb84b5fb29ae20bfc61b49851f.tar.gz qmk_firmware-59787a2e515b50eb84b5fb29ae20bfc61b49851f.zip |
input_club/infinity60: remove custom 3731 code, convert to LED Matrix (#22117)
* input_club/infinity60: remove custom 3731 code, convert to LED Matrix
* Add licences
Diffstat (limited to 'keyboards/input_club/infinity60/led/config.h')
-rw-r--r-- | keyboards/input_club/infinity60/led/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/input_club/infinity60/led/config.h b/keyboards/input_club/infinity60/led/config.h new file mode 100644 index 0000000000..035cce88e9 --- /dev/null +++ b/keyboards/input_club/infinity60/led/config.h @@ -0,0 +1,15 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define LED_MATRIX_LED_COUNT 63 + +#define IS31FL3731_DRIVER_COUNT 1 +#define LED_DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_GND + +#define I2C1_CLOCK_SPEED 400000 +#define I2C1_SCL_PIN B0 +#define I2C1_SDA_PIN B1 +#define I2C1_SCL_PAL_MODE PAL_MODE_ALTERNATIVE_2 +#define I2C1_SDA_PAL_MODE PAL_MODE_ALTERNATIVE_2 |