Module capsules_extra::ft6x06
source · Expand description
SyscallDriver for the FT6x06 Touch Panel.
I2C Interface
http://www.tvielectronics.com/ocart/download/controller/FT6206.pdf
§Usage
ⓘ
let mux_i2c = components::i2c::I2CMuxComponent::new(&stm32f4xx::i2c::I2C1)
.finalize(components::i2c_mux_component_helper!());
let ft6x06 = components::ft6x06::Ft6x06Component::new(
stm32f412g::gpio::PinId::PG05.get_pin().as_ref().unwrap(),
)
.finalize(components::ft6x06_i2c_component_helper!(mux_i2c));
Author: Alexandru Radovici <msg4alex@gmail.com>