Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

The bmp085 crate works only till i2cdev v.3.2 #7

Open
KnutKnusper opened this issue Apr 11, 2022 · 3 comments
Open

The bmp085 crate works only till i2cdev v.3.2 #7

KnutKnusper opened this issue Apr 11, 2022 · 3 comments

Comments

@KnutKnusper
Copy link

i2cdev removed the sensors at Release v4.0.

@KnutKnusper KnutKnusper changed the title The bmp085 crates works only till i2cdev v.3.2 The bmp085 crate works only till i2cdev v.3.2 Apr 11, 2022
@KnutKnusper
Copy link
Author

KnutKnusper commented Apr 14, 2022

As I was about to add the sensor traits to the project, I discovered that you already fixed this issue in GitHub but not in the crate at crates.io.
Can you still do this, or is there a reason you haven't.

@celaus
Copy link
Owner

celaus commented Apr 15, 2022

Hi! thanks for pointing this out, i2cdev went stale and was picked up again since I created this driver. I am not entirely sure what's required to update the code well. Since I don't know how well the current master version works I don't want to push it to the registry. However if you still want to give it a shot, use a git dependency in cargo:

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories

@KnutKnusper
Copy link
Author

Hi,
thanks for your answer. I will try it with the git dependency and give feedback. But on a first try by cloning your master branch, it worked for me with no issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants