Skip to content
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

Update embedded-hal to 1.0.0-alpha.7. #103

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

reitermarkus
Copy link
Contributor

PWM traits have been removed for now, see rust-embedded/embedded-hal#358.

There is a new transaction function required for the I2c trait. I have not implemented this for now since I don't want to reinvent the wheel. The same functionality is already available via https://github.com/rust-embedded/linux-embedded-hal. Both are using the Linux device, so I don't think there is any difference except implementation details.

@golemparts
Copy link
Owner

Thanks for the continued updates! I briefly looked at the transaction function, which should be easy enough to implement with an I2C_RDWR ioctl() request. I think it makes sense for me to add that feature to rppal's own I2c first, after which support can be added for embedded-hal.

@golemparts golemparts merged commit b847055 into golemparts:master Mar 10, 2022
@reitermarkus reitermarkus deleted the hal branch November 21, 2024 20:31
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