Implement the write LED driver protocol command.
This commit is contained in:
@@ -5,11 +5,10 @@
|
||||
|
||||
#define I2C_ADDRESS_LEFT_KEYBOARD_HALF 8
|
||||
|
||||
// IS31FL3731 LED drivers range from 0x74 to 0x77
|
||||
#define I2C_ADDRESS_LED_DRIVER_LEFT 0b1110100
|
||||
#define I2C_ADDRESS_LED_DRIVER_RIGHT 0b1110111
|
||||
|
||||
#define IS_I2C_LED_DRIVER_ADDRESS (address) \
|
||||
(I2C_ADDRESS_LED_DRIVER_LEFT <= address && address <= I2C_ADDRESS_LED_DRIVER_RIGHT)
|
||||
#define IS_I2C_LED_DRIVER_ADDRESS(address) \
|
||||
(I2C_ADDRESS_LED_DRIVER_LEFT <= (address) && (address) <= I2C_ADDRESS_LED_DRIVER_RIGHT)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user