Crate ft6x06

Crate ft6x06 

Source
Expand description

A platform agnostic driver for FT6X06 touchscreen . Built using ‘embedded-hal’ traits.

The Touchscreen driver for FT6X06 series touch panel controller

§Example

§Initializing the Ft6x06 driver struct
	let mut touch = ft6x06::Ft6X06::new(i2c, addr, ts_int).unwrap();

Modules§

constant

Structs§

Ft6X06
FT6x06 driver object. I2C bus type and its address are set.
Ft6x06Capabilities
GestureInit
MultiTouch
For storing multi-touch data
TouchState
Touch structure - derived from the available I2C registers.

Enums§

GestureKind
Possible choices of gesture

Functions§

long_hard_reset
Perform a long hard reset, the FT66206 needs at least 5mS …