as5600-rs
Rust Embedded HAL driver for the AS5600 contactless 12-bit digital potentiometer
Status
- Reading/parsing all device registers
- Writing configuration settings
- Setting zero position, maximum position, maximum angle
- Burn Settings and angle
Example
Here's how using this driver looks on a raspberry pi:
use ;
use As5600;
use I2cdev;
TODO for a more relaxed and civilized age
[ ] make a wooden harness for the as5600 with a knob that turns a radial magnet at the right distance to the sensor [ ] make a CLI/GUI tool similar to ebyte-e32-ui [ ] use klask progress bars or something comparable to show the current magnet angle
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.