Wire.setWireTimeout()
This function setups timeout for I2C transmission. Default value is 25 milliseconds. This timeout helps slave to receive data more slowly and master doesn't hang. If timeout occurs master restarts I2C communication.Wire.setWireTimeout(timeout)
timeout:
timeout value in milliseconds.nothing
Corrections and documentation improvements are accepted via fork & pull-request on GitHub. Suggestions and feature requests are welcome to the Forum.
The text of the Z-Uno reference is based on Arduino Reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.