From 05cc738b7f2491b7e3457cff3a43bace0783139e Mon Sep 17 00:00:00 2001 From: Rene Bartsch Date: Fri, 6 Jul 2018 15:34:15 +0200 Subject: [PATCH] #define USE_MPR121 added for MPR121 touch button controller. --- sonoff/user_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonoff/user_config.h b/sonoff/user_config.h index 0c4aa66f5..4b45118b8 100644 --- a/sonoff/user_config.h +++ b/sonoff/user_config.h @@ -277,6 +277,8 @@ // #define USE_MGS // Add I2C code for Xadow and Grove Mutichannel Gas sensor using library Multichannel_Gas_Sensor (+10k code) #define MGS_SENSOR_ADDR 0x04 // Default Mutichannel Gas sensor i2c address // #define USE_APDS9960 // Add I2C code for APDS9960 Proximity Sensor. Disables SHT and VEML6070 (+4k7 code) +// #define USE_MPR121 // Enable MPR121 controller (I2C addresses 0x5A, 0x5B, 0x5C and 0x5D) in input mode for touch buttons + #endif // USE_I2C // -- SPI sensors ---------------------------------