Rust interface to the SPI LS7366
Quadrature encoder buffer.
The full features of the chip have been implemented as per the docsheet, and are exposed by this driver.
This driver should work for any concrete embedded_hal::blocking::spi
implementation.
Testing was done against a Dual LS7366R buffer chip On a RPi Model 4B.
Bonus Feature!
as of v0.2.0 the library is built with no_std
.
See documentation for full driver details.
Building the quickstart:
The quickstart is desinged against rppal
, and is intended to be run on a RPi.
That said, it should be trivial enough to swap out the rppal
elements for any other implementation.4B