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

Microbit/Charpter 07-UART/src/serial_setup.rs #590

Open
ricardo119 opened this issue Feb 23, 2025 · 1 comment
Open

Microbit/Charpter 07-UART/src/serial_setup.rs #590

ricardo119 opened this issue Feb 23, 2025 · 1 comment

Comments

@ricardo119
Copy link

I am new in the rust language and I was just using this github repository as my guide. I like to write my code instead of just pulling it from github, works better for me to write the code instead of reading it so, I noticed that this repository is old and have to make some changes in order to use the new versions of some cargos.

I was writing the code for the serial setup to use the UART and couldn't write the code because the embedded-hal crate no longer has the serial trait making the code not updated.

I went to the embedded-hal cargo docs and they changed the serial trait to embeded-io. I tried to implement it and couldn't make it work. Has someone tried to make it work and succeed? Is there other repository that I can read that is more up to date?

Thanks in advance for the help!

@BartMassey
Copy link
Member

Please see https://github.com/rust-embedded/discovery-mb2 for a more up-to-date version of this.

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