Replies: 1 comment 1 reply
-
Please, open discussions for such questions. Or even better connect to matrix chat https://github.com/rust-embedded/awesome-embedded-rust?tab=readme-ov-file#community-chat-rooms https://docs.rs/bxcan/0.8.0/bxcan/struct.ExtendedId.html#method.as_raw |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to compare the id for can data coming in with my u16 values from the data received with this
let received = block!(can.receive()).unwrap();
I then fetch the id using this
received .id()
'this gives me a datatype with this format :
Extended(ExtendedId(id no.))
is there a way to extract this id no. ??
Beta Was this translation helpful? Give feedback.
All reactions