esp32-I2Cbus icon indicating copy to clipboard operation
esp32-I2Cbus copied to clipboard

share one I2C_t object between more than one FREERTOS task

Open su-Koch opened this issue 4 years ago • 1 comments

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 avatar Jul 24 '20 12:07 su-Koch

@su-Koch I have made a PR to work around this issue. In the meantime look here https://github.com/cranial-smoke/esp32-I2Cbus

cranial-smoke avatar Feb 06 '21 23:02 cranial-smoke