Skip to content

Conversation

@cameron-goddard
Copy link
Member

@cameron-goddard cameron-goddard commented Jan 7, 2025

Add in timeouts to the Wire library and define WIRE_TIMEOUT in the PlatformIO config. I set a timeout of 3000 microseconds (3 milliseconds), which seems reasonable but could be discussed further. Tested with an IMU breakout.

@cameron-goddard cameron-goddard merged commit 24973ee into main Jan 8, 2025
4 checks passed
@jonathanjma jonathanjma deleted the i2c_timeouts branch January 8, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants