Bela
|
I2C_MPR121 Class Reference
Inheritance diagram for I2C_MPR121:
Collaboration diagram for I2C_MPR121:
Public Member Functions | |
boolean | begin (uint8_t bus=1, uint8_t i2caddr=MPR121_I2CADDR_DEFAULT) |
uint16_t | filteredData (uint8_t t) |
uint16_t | baselineData (uint8_t t) |
uint8_t | readRegister8 (uint8_t reg) |
uint16_t | readRegister16 (uint8_t reg) |
void | writeRegister (uint8_t reg, uint8_t value) |
Writes 8-bits to the specified destination register. | |
uint16_t | touched (void) |
void | setThresholds (uint8_t touch, uint8_t release) |
int | readI2C () |
Public Member Functions inherited from I2c | |
int | initI2C_RW (int bus, int address, int file) |
int | closeI2C () |
Additional Inherited Members | |
Protected Attributes inherited from I2c | |
int | i2C_bus |
int | i2C_address |
int | i2C_file |
Detailed Description
- Examples:
- capacitive-touch/render.cpp.
The documentation for this class was generated from the following files:
- I2C_MPR121.h
- I2C_MPR121.cpp
Generated on Mon Nov 25 2024 06:28:24 for Bela by 1.8.11