Search found 2 matches
- Fri Jun 14, 2019 8:39 am
- Forum: General Discussion
- Topic: ESP32 i2c_driver_install error
- Replies: 2
- Views: 5208
Re: ESP32 i2c_driver_install error
Thank you for the response ESP_Sprite. I tried to set all the to 0 but it didn't do anything. void rtc_init() { PRINTFW("I2C starting...\n"); i2c_config_t conf = {0}; conf.mode = I2C_MODE_MASTER; conf.sda_io_num = I2C_MASTER_SDA_GPIO; conf.sda_pullup_en = GPIO_PULLUP_DISABLE; conf.scl_io_num = I2C_M...
- Thu Jun 13, 2019 1:31 pm
- Forum: General Discussion
- Topic: ESP32 i2c_driver_install error
- Replies: 2
- Views: 5208
ESP32 i2c_driver_install error
Hello there, I'm trying to use ESP32 I2C to communicate with an external RTC (DS1337). I get an error with this line of code i2c_driver_install(I2C_MASTER_PORT, conf.mode, 0, 0, 0); The code for i2c init i2c_config_t conf; conf.mode = I2C_MODE_MASTER; conf.sda_io_num = I2C_MASTER_SDA_GPIO; conf.sda_...