tca9539
This crate is a no_std
driver for the
TCA9539 and
PCA9539
16-Bit/8-Bit I2C I/O Expanders.
Basic usage
Include this library as a dependency in your Cargo.toml
:
= "0.1"
tca9539
Use embedded-hal implementation to get I2C handle and then create chip handle:
use *;
let pin = P13;
let mut u = default.unwrap;
u.set_direction.unwrap;
u.set_level.unwrap;
assert!;
Documentation
API Docs available on docs.rs
Minimum supported Rust version (MSRV) is 1.62.0.