-
Notifications
You must be signed in to change notification settings - Fork 65
Add a nonblocking LED display driver (draft 2) #16
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
Conversation
New public modules: display display::image Adds a dependency on the tiny-led-matrix crate.
Demonstrates the display module.
I've just published a new 0.6.2 version.
I'm not sure which version is currently utilised by crates.io but I would assume it's nightly so that should be fine. Other than that, looks excellent to me. Thanks a lot! |
As I understand it docs.rs uses nightly rustdoc, yes. |
Love the example. 👍 |
@therealprof This looks like it's ready to merge (and the example does look great) |
Hmm, completely forgot about this. @mattheww Can you resolve the merge conflicts? |
I've resolved the merge conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
I've merged it manually to get rid of the merge commit, thanks. |
Supersedes PR #14
This version is based on the new
HiResTimer
implementation in nrf51-hal (Cargo.toml specifiesnrf51-hal = "0.6.0"
but it really needs today's master to build).This is the core of the code from https://github.com/mattheww/microbit-blinkenlights, as discussed in #13.
I've left out the font and scrolling support to start with.
Notes:
I haven't done anything with the existing 'blocking' led.rs module.
The rustdoc is using RFC1946-style links, which aren't stable but do work on docs.rs . I can remove those if you don't want to require nightly rustdoc.