-
Notifications
You must be signed in to change notification settings - Fork 2
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
BUG: Thread pancked at 'not implemented' #10
Comments
Thanks for the report - which hub are you using? It looks like you're hitting the panic here: lego-powered-up/lego-powered-up/src/lib.rs Lines 166 to 171 in 60c1fe4
Currently version 0.3 only supports the Technic Medium Hub (the 4-port one, but #11 implements support for a much wider range of PoweredUp devices. If you can wait until it's merged and I've published a new release then hopefully the example code will work with whichever hub you've got. |
I am using this hub: |
#11 does not implement my hub, but possibly it can work with the Move hub code. |
I am new to Rust, so I don't understand the code, but #11 is good. My friends does have Move hub. |
Description
I am new to Rust and I want to control Lego with my app, not Lego app.
But the example is not working and I want to learn how to program Lego in Rust from the examples.
I am using Rust version 1.70.0.
Code
My Cargo.toml:
My src/main.rs:
Commands
When i press green button on the hub:
The text was updated successfully, but these errors were encountered: