Hi,
I have a simple master and slave code for two teensy 3.6 devices which are communicating via i2c. The master sends the slave the slave address, then 0xAA, and requests the slave to send 3 bytes of data in return. The slave does not send data in response. Can someone provide me insight as to why the slave device does not send data to the master? The master and slave code is included below.
View attachment MASTER.inoView attachment SLAVE.ino
Thank you so much,
Sam
I have a simple master and slave code for two teensy 3.6 devices which are communicating via i2c. The master sends the slave the slave address, then 0xAA, and requests the slave to send 3 bytes of data in return. The slave does not send data in response. Can someone provide me insight as to why the slave device does not send data to the master? The master and slave code is included below.
View attachment MASTER.inoView attachment SLAVE.ino
Thank you so much,
Sam