Skip to content

An interface for the LS7366 quaderature buffer encoder chip in rust

License

Notifications You must be signed in to change notification settings

theunkn0wn1/LS7366_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

cargo build --target=armv7-unknown-linux-gnueabihf --example quickstart

About

An interface for the LS7366 quaderature buffer encoder chip in rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages