n-able-Arduino icon indicating copy to clipboard operation
n-able-Arduino copied to clipboard

The Wire Library Sometimes Causes Code to Hang

Open timnicolas opened this issue 1 year ago • 0 comments

In some situations, the implementation of the Wire library causes the code to hang. I can't pinpoint the exact situations, but it occurs for me when I'm using BLE and running code that executes quite quickly (with very few delay statements).

I propose this implementation that allows I2C transmissions to fail gracefully when they get stuck.

timnicolas avatar Aug 06 '24 14:08 timnicolas