Unable to use embedded-hal SPI traits?
fmckeogh opened this issue · 2 comments
Hello,
I'm new, so apologies in advance for any mistakes. I'm trying to test an embedded-hal driver on a Raspberry Pi and get these errors:
the trait `embedded_hal::blocking::spi::write::Default<u8>` is not implemented for `hal::<unnamed>::Spidev
the trait `embedded_hal::blocking::spi::transfer::Default<u8>` is not implemented for `hal::<unnamed>::Spidev
My driver works on a Blue Pill board, what do I need to change for it to work with linux-embedded-hal?
Thanks :)
hi @fmckeogh, sorry this took so long to get back to.
a lot has changed since 2018 but, usually this kind of error is because of a mismatch in hal versions, did you get it working in the end?
@ryankurte Haha no worries, I'm sure it must have been a version mismatch but I've long forgotten what driver this was anyway😅
Thanks though!