From a537eb425725c848a599cc5ca4cf8db3a30132e7 Mon Sep 17 00:00:00 2001 From: nopnop2002 Date: Sun, 2 Jan 2022 16:08:49 +0900 Subject: [PATCH] Changed i2c address --- main/mpr121.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/mpr121.c b/main/mpr121.c index cd58416..d63a108 100644 --- a/main/mpr121.c +++ b/main/mpr121.c @@ -63,7 +63,8 @@ static const char *TAG = "MPR121"; void MPR121_type(MPR121_t * dev){ - dev->address = 0x5C; // default address is 0x5C, for use with Bare Conductive Touch Board + //dev->address = 0x5C; // default address is 0x5C, for use with Bare Conductive Touch Board + dev->address = 0x5A; // default address is 0x5A, for use with Bare Conductive Touch Board dev->ECR_backup = 0x00; dev->running = false; dev->error = 1<