diff options
author | Ryan <[email protected]> | 2023-09-19 19:31:54 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-19 19:31:54 +1000 |
commit | 8f221052897754870e5c08a2de92c24d20cd307e (patch) | |
tree | fe853aa394ae9d07f593446ce87a01b334f3bbea /drivers/led/issi/is31fl3731.c | |
parent | 74360d0a01d58baf68109f6380144c7f3c69ef91 (diff) | |
download | qmk_firmware-8f221052897754870e5c08a2de92c24d20cd307e.tar.gz qmk_firmware-8f221052897754870e5c08a2de92c24d20cd307e.zip |
Add and use I2C address defines for ISSI LED drivers (#22008)
Diffstat (limited to 'drivers/led/issi/is31fl3731.c')
-rw-r--r-- | drivers/led/issi/is31fl3731.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/led/issi/is31fl3731.c b/drivers/led/issi/is31fl3731.c index 9e2d39c692..2123438a5f 100644 --- a/drivers/led/issi/is31fl3731.c +++ b/drivers/led/issi/is31fl3731.c @@ -21,15 +21,6 @@ #include "i2c_master.h" #include "wait.h" -// 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 IS31FL3731_I2C_ADDRESS_DEFAULT 0x74 - #define IS31FL3731_REG_CONFIG 0x00 #define IS31FL3731_REG_CONFIG_PICTUREMODE 0x00 #define IS31FL3731_REG_CONFIG_AUTOPLAYMODE 0x08 |