27 #include <mraa/gpio.h>
API for the TTP223 Touch Sensor.
Definition: ttp223.h:55
TTP223(unsigned int pin)
Definition: ttp223.cxx:29
std::string m_name
name of this sensor
Definition: ttp223.h:91
int value()
Definition: ttp223.cxx:46
std::string name()
Definition: ttp223.cxx:42
bool isPressed()
Definition: ttp223.cxx:50
mraa_gpio_context m_gpio
GPIO pin.
Definition: ttp223.h:92
~TTP223()
Definition: ttp223.cxx:37