Crates.io | tca9555 |
lib.rs | tca9555 |
version | 0.1.0 |
source | src |
created_at | 2022-07-17 17:25:38.823873 |
updated_at | 2022-07-17 17:25:38.823873 |
description | Embedded-HAL driver crate for the TCA9555/TCA9535 16 port I/O expander. |
homepage | |
repository | https://github.com/sciguy16/tca9555 |
max_upload_size | |
id | 627316 |
size | 8,351 |
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.
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();
This crate is distributed under the terms of the Mozilla Public License Version 2.0.