Can I have a slave I2C R3 generate an interrupt on the end of an I2C transmission?
Events don't work for me here as I need to break a loop on receipt of the next I2C transmission.
I had this working fine with SPI but I need to use I2C.
Can I have a slave I2C R3 generate an interrupt on the end of an I2C transmission?
Events don't work for me here as I need to break a loop on receipt of the next I2C transmission.
I had this working fine with SPI but I need to use I2C.
Sounds like the loop you mentioned is "blocking code". Re-write so it is not blocking and your problem is solved.
Check the I2C in the loop and use mills not delay(); This became oblivious in the code you did not post.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.