Add and use I2C address defines for ISSI LED drivers (#22008)

This commit is contained in:
Ryan 2023-09-19 19:31:54 +10:00 committed by GitHub
parent 74360d0a01
commit 8f22105289
Failed to generate hash of commit
166 changed files with 385 additions and 496 deletions

View file

@ -19,6 +19,10 @@
#pragma once
#include <stdint.h>
#include <stdbool.h>
#include "progmem.h"
// ======== DEPRECATED DEFINES - DO NOT USE ========
#ifdef DRIVER_COUNT
# define IS31FL3737_DRIVER_COUNT DRIVER_COUNT
@ -52,9 +56,10 @@
#define PUR_32KR IS31FL3737_PUR_32KR
// ========
#include <stdint.h>
#include <stdbool.h>
#include "progmem.h"
#define IS31FL3737_I2C_ADDRESS_GND 0x50
#define IS31FL3737_I2C_ADDRESS_SCL 0x55
#define IS31FL3737_I2C_ADDRESS_SDA 0x5A
#define IS31FL3737_I2C_ADDRESS_VCC 0x5F
typedef struct is31_led {
uint8_t driver : 2;