esp32-I2Cbus
esp32-I2Cbus copied to clipboard
share one I2C_t object between more than one FREERTOS task
Hei natanaeljr, i like this class very much because it's super easy to use. Unfortunately I got some issues, when trying to share one instance of it between more than one tasks in freertos. What do you recomment or what is best practice to eg. have one task running a keypad and another running a display, both communicating over the same I2C instance? Thanks a lot.
@su-Koch I have made a PR to work around this issue. In the meantime look here https://github.com/cranial-smoke/esp32-I2Cbus