Go Down

Topic: Wire.send String problem (Read 6384 times) previous topic - next topic


Is it possible for a slave to send data to the master without the master actually asking for it?
No. Slaves never initiate communication.

You could set up the slave to generate an interrupt signal to the master.  When the master sees the interrupt it knows new data is available for it to go get.  This is how a lot of I2C slave devices operate.


See my page here:


The "slave" can be a master as well. Thus either end can send to each other, whenever they want to. In either case an interrupt is generated.
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

Go Up