Add and use I2C address defines for ISSI LED drivers (#22008)
This commit is contained in:
		
							parent
							
								
									74360d0a01
								
							
						
					
					
						commit
						8f22105289
					
				
					 166 changed files with 385 additions and 496 deletions
				
			
		| 
						 | 
				
			
			@ -39,8 +39,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#    undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
 | 
			
		||||
#    undef ENABLE_RGB_MATRIX_DIGITAL_RAIN
 | 
			
		||||
#    define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
 | 
			
		||||
#    define DRIVER_ADDR_1 0x74
 | 
			
		||||
#    define DRIVER_ADDR_2 0x77
 | 
			
		||||
#    define DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_GND
 | 
			
		||||
#    define DRIVER_ADDR_2 IS31FL3731_I2C_ADDRESS_VCC
 | 
			
		||||
#    define IS31FL3731_DRIVER_COUNT 2
 | 
			
		||||
#    define DRIVER_1_LED_TOTAL 36
 | 
			
		||||
#    define DRIVER_2_LED_TOTAL 31
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define DRIVER_ADDR_1 0b0110000
 | 
			
		||||
#define DRIVER_ADDR_1 IS31FL3741_I2C_ADDRESS_GND
 | 
			
		||||
#define IS31FL3741_DRIVER_COUNT 1
 | 
			
		||||
#define DRIVER_1_LED_TOTAL 82
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -72,7 +72,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
// #    define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
 | 
			
		||||
 | 
			
		||||
#    define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
 | 
			
		||||
#    define DRIVER_ADDR_1 0b0110000
 | 
			
		||||
#    define DRIVER_ADDR_1 IS31FL3741_I2C_ADDRESS_GND
 | 
			
		||||
#    define IS31FL3741_DRIVER_COUNT 1
 | 
			
		||||
#    define DRIVER_1_LED_TOTAL 98
 | 
			
		||||
#    define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue