AT42QT2120

Crates.ioAT42QT2120
lib.rsAT42QT2120
version0.1.2
sourcesrc
created_at2019-11-24 15:04:03.708123
updated_at2020-04-20 18:27:48.519386
descriptionPlatform agnostic Rust driver for the AT42QT2120
homepage
repositoryhttps://github.com/riktw/AT42QT2120-rs
max_upload_size
id183975
size45,651
Rik (riktw)

documentation

README

AT42QT2120 Rust driver

Platform agnostic Rust driver for the AT42QT2120

The AT42QT2120

The AT42QT2120 is a touch driver with 12 channels, of which 3 can be used as a slider or a wheel. It has an I2C interface. Datasheet: http://ww1.microchip.com/downloads/en/devicedoc/doc9634.pdf

Status

Basic support works and is tested on hardware:

  • Support reading keys
  • Support reading raw key values
  • Support reading slider
  • Configurable slider/wheel
  • Configurable key threshold
  • Enable/disable keys
  • Configurable detection integrator

Most advanced configuration is not supported:

  • Configurable drift compensation
  • Configurable touch recal delay
  • Low power mode
  • Using Change pin as input
  • Configurable key oversampling

I am new to Rust, so the code quality is probably not great.

License

Licensed under GNU Lesser General Public License v3.0. All contributions intentionally submitted shall be licensed under the same license.

Commit count: 7

cargo fmt