mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
de6bc33f3c
Also fixes the documentation of I2CTransfer::sync_transfer().
18 lines
519 B
Plaintext
18 lines
519 B
Plaintext
menu "Example Configuration"
|
|
|
|
config I2C_MASTER_SCL
|
|
int "SCL GPIO Num"
|
|
default 6 if IDF_TARGET_ESP32C3
|
|
default 19 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
|
help
|
|
GPIO number for I2C Master clock line.
|
|
|
|
config I2C_MASTER_SDA
|
|
int "SDA GPIO Num"
|
|
default 5 if IDF_TARGET_ESP32C3
|
|
default 18 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
|
help
|
|
GPIO number for I2C Master data line.
|
|
|
|
endmenu
|