You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
In my project I've encountered an issue. I have 3 temperature sensors LM75A. Normally they are all connected and everything works.
But if one of them is not connected, I2C bus is locked (no traffic at all) - it looks like it is waiting for unconnected sensor to response but that never happens.
I thought there is setWireTimeout but couldn't find that in this library.
How do I set timeout in this library, or how do I solve this issue other than "just connect all 3 sensors"?
The text was updated successfully, but these errors were encountered:
If you run the Scanner example, you can see it tries to communicate with every address and prints those which do respond. Obviously it is not locking up with the addresses where no I2C device exists.
Please post a small but complete program which demonstrates how to reproduce this lockup, but just running on a Teensy 4.1 without any LM35 chips connected.
Temperature = 23.00
Temperature = Temperature = 23.00
Temperature = -0.50
Temperature = -0.50
-0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Temperature = -0.50
Hi.
In my project I've encountered an issue. I have 3 temperature sensors LM75A. Normally they are all connected and everything works.
But if one of them is not connected, I2C bus is locked (no traffic at all) - it looks like it is waiting for unconnected sensor to response but that never happens.
I thought there is setWireTimeout but couldn't find that in this library.
How do I set timeout in this library, or how do I solve this issue other than "just connect all 3 sensors"?
The text was updated successfully, but these errors were encountered: