I2C wire library porting on ESP-IDF
Posted: Thu Jul 01, 2021 7:48 am
Hi all,
I am somewhat confused at the moment. Despite the fact that I have a good knowledge about RTOS and Arduino platform I can't figure out how to use I2C wire library with RTOS/ESP-IDF.
If for example I have bought a sensor which has arduino wire based API and does not have ESP-IDF based I2C API then do I have to write a IDF API using I2C API of ESP-IDF? or I can port a wire based library? If I can use Wire based library what is the need of ESP-IDF I2C API??
https://docs.espressif.com/projects/esp ... s/i2c.html
I am somewhat confused at the moment. Despite the fact that I have a good knowledge about RTOS and Arduino platform I can't figure out how to use I2C wire library with RTOS/ESP-IDF.
If for example I have bought a sensor which has arduino wire based API and does not have ESP-IDF based I2C API then do I have to write a IDF API using I2C API of ESP-IDF? or I can port a wire based library? If I can use Wire based library what is the need of ESP-IDF I2C API??
https://docs.espressif.com/projects/esp ... s/i2c.html