From b30644ac924ebbab9ac6b28871d05f6cf6a56ed6 Mon Sep 17 00:00:00 2001 From: xyqyear Date: Sun, 16 Jul 2023 08:49:21 +0800 Subject: [PATCH] add explaination regarding baseline update --- maimaiTouchControl.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/maimaiTouchControl.ino b/maimaiTouchControl.ino index 4295526..d932e48 100644 --- a/maimaiTouchControl.ino +++ b/maimaiTouchControl.ino @@ -91,6 +91,7 @@ void MprSetup(Adafruit_MPR121 cap) // FDL is the filter delay count limit, the baseline will be updated after this many samples // if a touch is detected mid way, the update is cancelled // NHD is the noise half delta, the baseline will be changed this much when the above conditions are met + // please note that the actual update delay is affected by the second stage filter cap.writeRegister(MPR121_MHDR, MHDR); cap.writeRegister(MPR121_NHDR, NHDR); cap.writeRegister(MPR121_NCLR, NCLR);