You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
6leonardo
changed the title
Please open a new issue, follow the template instructions, explain the problem with the addresses, and reference this issue.
twowire i2c library nor work with multiple instance
Feb 26, 2021
The problem is that twowire use internally a static class twi..so you can create many instance of twowire but there is only one twi....
I do same changes and Now it works....it's not very beautiful code but seams to work...
I have tested with 4 gy-bme280... 2 for bus
here the patch in cores/esp8266 I
and in the library Wire
you can put the wire library in local library but for the core I must change the original files mod_i2c_multi-bus.zip
I attach the code for test the 4 gy-bme280 gy-bme280.ino.zip
Two wire for i2c not support multi instances...
If you create multiple instance of twowire only the last one work
Originally posted by @devyte in #3063 (comment)
The text was updated successfully, but these errors were encountered: