Skip to content

Update to digital v2 since original digital OutputPin has been deprecated #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

BenBergman
Copy link

This PR is to address issue #81

Copy link
Collaborator

@jamwaffles jamwaffles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for the PR (and the issue)! The v2 traits seem to be causing issues for quite a few people, like here and here.

The jury's out on what to do going forward, so for now my suggestion would be to remove the #![deny(warnings)] crate attribute. I think this will still cause a spew of warnings, but at least this driver will compile again whilst maintaining compatibility with the old traits. The migration path hasn't been great for the v2 stuff IMO, but it is what it is 🙂.

@jamwaffles
Copy link
Collaborator

Sorry, I completely missed that this was already open when #83 was made. I've merged #83 and released 0.2.5 so you should be able to use the v2 traits with no warnings now. Thanks for the work in this PR nonetheless!

@jamwaffles jamwaffles closed this Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants