n-able-Arduino
n-able-Arduino copied to clipboard
The Wire Library Sometimes Causes Code to Hang
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.