-
Its kind of similar to #63, but it doesn't say that it is not implemented. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello, please provide your code to reproduce the error you got. It is impossible to provide proper help from this little information. You'll find that people are much more willing to help when you spend a bit more effort on your bug/issue reports :) That said, the error complains that avr-hal/examples/arduino-uno/src/bin/uno-spi-feedback.rs Lines 31 to 38 in 533159f (The |
Beta Was this translation helpful? Give feedback.
-
Hm, maybe to make it more clear: What you're after is just the |
Beta Was this translation helpful? Give feedback.
-
Hey, |
Beta Was this translation helpful? Give feedback.
Hm, maybe to make it more clear:
Spi::new()
doesn't return aSpi
instance, but instead a tuple ofSpi
and theChipSelectPin
. See https://rahix.github.io/avr-hal/avr_hal_generic/spi/struct.Spi.html#method.newWhat you're after is just the
Spi
instance, so you need to destructure the tuple.