A little question : does someone know if the I2C write function only in the outgoing buffer and then the data is send in background while the program runs, or does the program stop until the data is send ?
The Arduino is a single-threaded processor. There is no "background". I hope that answers your question.
Because the TWI is interrupt-based, the application software is free to carry on other operations during a TWI byte transfer.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16