Hello,
i interfaced PIC16LF1826 to ESP01 via i2c and it was working fine. esp32 is a master and PIC and OLED are slaves. I program esp32 from Arduino. Now i switched from ESP01 to ESP32 and cannot get any i2c data from PIC. OLED still works fine. I thought that when i switch from ESP01 to ESP32, i just need to change i2c pins and keep my PIC program the same.I guess, that is not true.
Are there are known gotchas in esp32 i2 comms?
Thanks
Hi.
We’ve recently created a guide about I2C with the ESP32 that might help: https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/
There are several examples. These might be useful to try to understand if there’s something wrong with your code.
I hope this helps.
Regards,
Sara