27 #include <mraa/i2c.hpp> 29 #define MPR121_I2C_BUS 0 30 #define MPR121_DEFAULT_I2C_ADDR 0x5a 63 MPR121(
int bus, uint8_t address = MPR121_DEFAULT_I2C_ADDR);
96 mraa::Result
writeBytes(uint8_t reg, uint8_t *buffer,
int len);
105 int readBytes(uint8_t reg, uint8_t *buffer,
int len);
void readButtons()
Definition: mpr121.cxx:189
MPR121(int bus, uint8_t address=MPR121_DEFAULT_I2C_ADDR)
Definition: mpr121.cxx:35
uint16_t m_buttonStates
Definition: mpr121.hpp:110
API for the MPR121 I2C Touch Sensor.
Definition: mpr121.hpp:56
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
mraa::Result writeBytes(uint8_t reg, uint8_t *buffer, int len)
Definition: mpr121.cxx:51
bool m_overCurrentFault
Definition: mpr121.hpp:115
bool configAN3944()
Definition: mpr121.cxx:82
int readBytes(uint8_t reg, uint8_t *buffer, int len)
Definition: mpr121.cxx:69