use mbed os
Dependents: Seeed_Grove_I2C_Touch_Example
Fork of MPR121 by
Diff: MPR121.h
- Revision:
- 10:fb2d2454fea4
- Parent:
- 8:870059a44bfc
- Child:
- 11:ad26c0810f02
--- a/MPR121.h Thu Jun 29 15:56:48 2017 +0000 +++ b/MPR121.h Sun Jul 02 10:58:16 2017 -0600 @@ -24,7 +24,7 @@ #define MPR121_H #include "mbed.h" -#include "rtos.h" +/* #include "rtos.h" */ /** Using the Sparkfun SEN-10250 BoB * @@ -94,7 +94,7 @@ */ enum MPR121_ADDR { - ADDR_VSS = 0x5A, /*!< ADDR connected to VSS */ + ADDR_VSS = 0x1B, /*!< ADDR connected to VSS */ ADDR_VDD, /*!< ADDR connected to VDD */ ADDR_SCL, /*!< ADDR connected to SDA */ ADDR_SDA /*!< ADDR connected to SCL */ @@ -152,7 +152,7 @@ * @param i2c - A defined I2C object * @param i2c_addr - Connection of the address line */ - MPR121(I2C &i2c, MPR121_ADDR i2c_addr); + MPR121(I2C &i2c, MPR121_ADDR fake); /** Clear state variables and initilize the dependant objects */