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
I think there is a problem with the configuration_high_threshold and configuration_low_threshold, when you set a value to one of this registers, reading it back is not the value you set. As the value is 15 bits but left aligned, I think the method to set it should be more like this one (<<1 before setting the value)
Anyway, even with this fix it does not seem to work, I tested with PT1000 config with and without this PT1000 connected, I'm in the range when PT1000 is connected, and as soon I disconnect, I'm out of range, but status does not indicated a High threshold. Very strange. But it's by the end of the night here, so I need to take a rest, may be tomorrow I will see where's the problem ;-)
The text was updated successfully, but these errors were encountered:
Thank you for sharing this lib, nice job.
I think there is a problem with the
configuration_high_threshold
andconfiguration_low_threshold
, when you set a value to one of this registers, reading it back is not the value you set. As the value is 15 bits but left aligned, I think the method to set it should be more like this one (<<1 before setting the value)}
Anyway, even with this fix it does not seem to work, I tested with PT1000 config with and without this PT1000 connected, I'm in the range when PT1000 is connected, and as soon I disconnect, I'm out of range, but status does not indicated a High threshold. Very strange. But it's by the end of the night here, so I need to take a rest, may be tomorrow I will see where's the problem ;-)
The text was updated successfully, but these errors were encountered: