Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: astoev on April 06, 2023, 09:11:08 PM

Title: ESP32-C3 I2C
Post by: astoev on April 06, 2023, 09:11:08 PM
Hello,

what are the default pins that can be used with ESP32-C3 for I2C?

Thank you,
Aleksandar
Title: Re: ESP32-C3 I2C
Post by: LubOlimex on April 07, 2023, 09:45:51 AM
You can use any free pin for I2C. Just make sure to define it as I2C in your code. Refer to the IO multiplexing table from the official documentation:

https://docs.espressif.com/projects/arduino-esp32/en/latest/tutorials/io_mux.html
Title: Re: ESP32-C3 I2C
Post by: astoev on April 07, 2023, 11:18:02 PM
Perfect, thank you for the link!