fixup! lotus: Configure I2C
This commit is contained in:
@@ -26,6 +26,7 @@
|
|||||||
#define BACKLIGHT_PWM_DRIVER PWMD4
|
#define BACKLIGHT_PWM_DRIVER PWMD4
|
||||||
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B
|
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B
|
||||||
|
|
||||||
|
// I2C for the RBG controller
|
||||||
#define I2C_DRIVER I2CD0
|
#define I2C_DRIVER I2CD0
|
||||||
#define I2C1_SDA_PIN GP26
|
#define I2C1_SDA_PIN GP26
|
||||||
#define I2C1_SCL_PIN GP27
|
#define I2C1_SCL_PIN GP27
|
||||||
|
|||||||
@@ -18,6 +18,8 @@
|
|||||||
#undef RP_PWM_USE_PWM4
|
#undef RP_PWM_USE_PWM4
|
||||||
#define RP_PWM_USE_PWM4 TRUE
|
#define RP_PWM_USE_PWM4 TRUE
|
||||||
|
|
||||||
|
#undef RP_I2C_USE_I2C0
|
||||||
|
#define RP_I2C_USE_I2C0 TRUE
|
||||||
/*
|
/*
|
||||||
* IRQ system settings.
|
* IRQ system settings.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user