From 2c819af6cf4f824f7906acf0907a4252967b8327 Mon Sep 17 00:00:00 2001 From: Eonassiss Date: Thu, 20 Apr 2023 19:39:42 -0300 Subject: [PATCH] Update u8g2_esp32_hal.h library update to work on ESP32 C3 --- hardware/displays/U8G2/u8g2_esp32_hal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/displays/U8G2/u8g2_esp32_hal.h b/hardware/displays/U8G2/u8g2_esp32_hal.h index 20ed44fc..7b2bb6ce 100644 --- a/hardware/displays/U8G2/u8g2_esp32_hal.h +++ b/hardware/displays/U8G2/u8g2_esp32_hal.h @@ -15,7 +15,7 @@ #define U8G2_ESP32_HAL_UNDEFINED (-1) -#define I2C_MASTER_NUM I2C_NUM_1 // I2C port number for master dev +#define I2C_MASTER_NUM I2C_NUM_0 // I2C port number for master dev #define I2C_MASTER_TX_BUF_DISABLE 0 // I2C master do not need buffer #define I2C_MASTER_RX_BUF_DISABLE 0 // I2C master do not need buffer #define I2C_MASTER_FREQ_HZ 50000 // I2C master clock frequency