Hanz Häger
Hanz Häger
- setWireTimeout(0,false) should disable timeout. - the new PR changes the default timeout value from 1000ms to 25ms (as also my PR does). This is not fully backwards compatible. Maybe...
This should solve the issue #492
The actions to reset the hardware in handleTimeout() is not well tested. It would be great if someone who knows better can take a look at it to see if...
Fixed a bug in timeout handling in read_from() and write_to() and made the commit cleaner
After some more testing I conclude that I need even more testing to make sure it works as intended. I think that in the current solution, the master may not...
> Thanks for your pull request, and for taking the time to provide an update on the situation @HanzHager! > > I see that one of Arduino's developers also submitted...
I just noticed that https://github.com/arduino/ArduinoCore-renesas/pull/494 have renamed the setTimeout() to setWireTimeout(). The function sets timeout in milliseconds, but the referred implementation https://docs.arduino.cc/language-reference/en/functions/communication/wire/setWireTimeout/ are using microseconds as well as a boolean...
I have now updated with a new better tested version, but more testing and review would be great I order to make testing easier, I have prepared a standalone library...