8000 Add SpiDevice bound to creation functions, Remove SpiInterface · Issue #3 · eldruin/mcp4x-rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add SpiDevice bound to creation functions, Remove SpiInterface #3

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

Open
eldruin opened this issue Jul 3, 2024 · 0 comments
Open

Add SpiDevice bound to creation functions, Remove SpiInterface #3

eldruin opened this issue Jul 3, 2024 · 0 comments

Comments

@eldruin
Copy link
Owner
eldruin commented Jul 3, 2024
  • Adding an SpiDevice bound to the creation functions should prevent users running into unsatisfied trait bound WriteCommand #2 in the future.
  • The SpiInterface type is not necessary anymore after the update to embedded-hal 1.0. write_command() can be just a private inherent method.
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

No branches or pull requests

1 participant
0