mirror of
https://github.com/alexandrebobkov/ESP32-C3_Breadboard-Adapter.git
synced 2025-08-07 03:08:46 +00:00
.
This commit is contained in:
4
index.md
4
index.md
@@ -124,8 +124,8 @@ The image of the PCB board below depicts the physical locations of the __SDA__ a
|
|||||||
``` C
|
``` C
|
||||||
i2c_config_t conf = {
|
i2c_config_t conf = {
|
||||||
.mode = I2C_MODE_MASTER,
|
.mode = I2C_MODE_MASTER,
|
||||||
.sda_io_num = 18,
|
.sda_io_num = 8,
|
||||||
.scl_io_num = 19,
|
.scl_io_num = 9,
|
||||||
.sda_pullup_en = GPIO_PULLUP_ENABLE,
|
.sda_pullup_en = GPIO_PULLUP_ENABLE,
|
||||||
.scl_pullup_en = GPIO_PULLUP_ENABLE,
|
.scl_pullup_en = GPIO_PULLUP_ENABLE,
|
||||||
.master.clk_speed = 100000,
|
.master.clk_speed = 100000,
|
||||||
|
Reference in New Issue
Block a user