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

i2c-nonblocking: how to use? #145

Open
jkorinth opened this issue Apr 12, 2024 · 1 comment
Open

i2c-nonblocking: how to use? #145

jkorinth opened this issue Apr 12, 2024 · 1 comment

Comments

@jkorinth
Copy link

What is the state of non-blocking i2c, can it be used? I tried
cargo add stm32g0xx-hal --no-default-features --features stm32g071cb,rt,i2c-nonblocking
but compilation fails with could not find blocking in i2c in prelude.rs.

@andresv
Copy link
Member

andresv commented Apr 13, 2024

Non-blocking things are under i2c::nonblocking

pub mod nonblocking;

PS: have you looked into embassy. It has the most comprehensive driver support for all STM32 families.

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

2 participants