I have issue with GPIO pins remapping.
I tried official idf example of i2c peripheral on ESP32 DevKit:
https://github.com/espressif/esp-idf/tr ... herals/i2c
It works fine, but when I tried to change to another GPIO pin
in this section
Code: Select all
#define I2C_EXAMPLE_MASTER_SCL_IO 19 /*!< gpio number for I2C master clock */ #define I2C_EXAMPLE_MASTER_SDA_IO 18 /*!< gpio number for I2C master data */
19 to 35
I got next message on terminal window:
"i2c: E:/Projects/ESP32/esp-idf/components/driver/i2c.c:610 (i2c_set_pin):scl gpio number error[0m".
I noticed this problem at IO_pins 34, 35 (IO 12,13 also wouldnt work with i2c for some reason, nothing appear at log).