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
OneWire is a digital protocol used by a very popular temperature sensor, the DS1820B. I'm unable to get it working with this crate, and am wonder what you think the best approach is.
I think the issue is that the GPIO pins this library uses are generally input or output only, and don't implement both. Is this correct? The specific issue I'm running into with this OneWire crate is that it expects the pin to implement this:
Is this an issue of implementing both InputPin and OutputPin for gpio pins configured as open drain? I looked through this source file to try to find a solution, either robust, or a hack to make OneWire work, but am not sure how to deal with the macros. Is it just an issue of making a way to configure a pin with both the InputPin and OutputPin methods? Ie set_low() and is_low()? Ie a copy+paste job.
Thoughts? Is this the same thing as the issue I linked near the top?
The text was updated successfully, but these errors were encountered:
OneWire is a digital protocol used by a very popular temperature sensor, the DS1820B. I'm unable to get it working with this crate, and am wonder what you think the best approach is.
I'm suspicious this recent issue is related.
I think the issue is that the GPIO pins this library uses are generally input or output only, and don't implement both. Is this correct? The specific issue I'm running into with this OneWire crate is that it expects the pin to implement this:
Is this an issue of implementing both
InputPin
andOutputPin
for gpio pins configured as open drain? I looked through this source file to try to find a solution, either robust, or a hack to make OneWire work, but am not sure how to deal with the macros. Is it just an issue of making a way to configure a pin with both theInputPin
andOutputPin
methods? Ieset_low()
andis_low()
? Ie a copy+paste job.Thoughts? Is this the same thing as the issue I linked near the top?
The text was updated successfully, but these errors were encountered: