the mpr121 datasheet specified max i2c frequency to 400khz

pull/2/head
xyqyear 2023-07-19 13:24:33 +08:00
parent 0f833603b6
commit 0dd1ebe752
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ void setup()
mpr[1].begin(0x5B, &Wire); mpr[1].begin(0x5B, &Wire);
mpr[2].begin(0x5C, &Wire); mpr[2].begin(0x5C, &Wire);
mpr[3].begin(0x5D, &Wire); mpr[3].begin(0x5D, &Wire);
Wire.setClock(800000); Wire.setClock(400000);
// config conversion // config conversion