From 1f03e1262d2217ac1379bba0852645ac5b7f2580 Mon Sep 17 00:00:00 2001 From: xyqyear Date: Fri, 1 Dec 2023 15:48:33 +0800 Subject: [PATCH] update documentation for CL --- maimaiTouchControl.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maimaiTouchControl.ino b/maimaiTouchControl.ino index c9e8fa9..405c622 100644 --- a/maimaiTouchControl.ino +++ b/maimaiTouchControl.ino @@ -164,7 +164,7 @@ void MprSetup(Adafruit_MPR121 cap) // @datasheet page 16 // 2bit CL, 2bit ELEPROX_EN, 4bit ELE_EN - // CL set to 11 means Baseline tracking enabled, initial baseline value is loaded with all 10 bits of the first electrode data value + // CL set to 10 means Baseline tracking enabled, initial baseline value is loaded with first 5 bits of the first electrode data value. This is desireable because the first value might be noisy, we can let the baseline track the data for a while before using it. // ELEPROX_EN being 0 means proximity disabled // ELE_EN being a certain number means how many electrodes are enabled // the ELE_EN value set here is irrelevant because we will set it again in STAT command