ttp229_int

TTP229 Capacitive Touch Sensor (I2C). http://www.tontek.com.tw/uploads/product/106/TTP229-LSF_V1.0_EN.pdf https://robotdyn.com/16-keys-capacitive-touch-ttp229-i2c-module.html The output is an int32 with the 0/1 status of the electrodes (bits 0..15) Note: This object requires a single instance of the factory/gpio/i2c/config object. This allows multiple i2c devices (each with a unique i2c address) to work concurrently. Tested with I2C1, SCL=PB8, SDA=PB9 (these are the config defaults)
Author: Jason Harris
License: BSD
Github: deadsy/ttp229/ttp229_int.axo

Inlets

None

Outlets

int32 touch

Declaration
struct ttp229_state state;
Init
ttp229_init(&state);
Control Rate
ttp229_krate_int(&state, &outlet_touch);
Dispose
ttp229_dispose(&state);

Privacy

© 2024 Zrna Research