tca9555

Crates.iotca9555
lib.rstca9555
version0.1.0
sourcesrc
created_at2022-07-17 17:25:38.823873
updated_at2022-07-17 17:25:38.823873
descriptionEmbedded-HAL driver crate for the TCA9555/TCA9535 16 port I/O expander.
homepage
repositoryhttps://github.com/sciguy16/tca9555
max_upload_size
id627316
size8,351
David Young (sciguy16)

documentation

README

tca9555

Embedded-HAL driver crate for the TCA9555/TCA9535 16 port I/O expander.

This crate currently only implements byte-oriented operations - pin operations will be part of a future update.

Read operations have been tested. Write operations have been implemented but not tested.

Examples

There is an example application provided for the Raspberry Pi Pico, developed for the Pimoroni "PIM551" keypad module.

let mut tca = Tca9555::new(i2c, tca9555::DeviceAddr::default());
let inputs: u16 = tca.read_all().unwrap();

License

This crate is distributed under the terms of the Mozilla Public License Version 2.0.

Commit count: 3

cargo fmt