Crates.io | tsc2046 |
lib.rs | tsc2046 |
version | 0.1.0 |
source | src |
created_at | 2024-03-12 22:59:14.423573 |
updated_at | 2024-03-12 22:59:14.423573 |
description | TSC2046 SPI 4-Wire Touch Screen Controller driver |
homepage | |
repository | https://github.com/EdBuilds/TSC2046 |
max_upload_size | |
id | 1171138 |
size | 21,671 |
TSC2046 SPI 4-Wire Touch Screen Controller driver
This crate is a platform-agnostic Rust driver for the TSC2046 4-wire touch screen controller. This crate provides a high-level interface to interact with the TSC2046 chip, allowing you to read the X and Y coordinates of a touch, as well as calculate the pressure applied on the touch screen.
The driver is designed to work with any hardware abstraction layer (HAL) that implements the embedded-hal v1.0.0 traits and works in no_std
environments.
To use this crate in your Rust project, add the following line to your Cargo.toml
file:
[dependencies]
tsc2046 = "0.1.0"