In a group of 3 arduinos - One acting as master and transmitting to two slaves.
This seems to work aok - with one exception - one of the slaves seems to receive the data transmitted by the other slave (but not vice versa - it is always the same slave that receives the data)
In the setup the slaves have addresses of 0x20 and 0x30 (set in the properties) with mask of 0xff. They are also set to transmit different data (nothing exciting just one transmitting an increasing variable and one a constant (123))
Slave at 0x20
33 addr 0x20
Slave at 0x30
49 addr 0x30
20 sent 123
30 sent 5
Any suggestions as to what is going wrong (if it is wrong?)
The standard Arduino libraries use the i2c hardware interrupt to jump to an onReceive handler - which seems a neater way of dealing with waiting for a message. Probably problematic to implement something similar when targeting multiple MCUs?