From 96ffed34664dee92b08062f7436bed44df554613 Mon Sep 17 00:00:00 2001 From: FabioReeh Date: Mon, 4 Nov 2024 14:28:51 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20c833c?= =?UTF-8?q?b6ebaf80fb61212d55a64eeeae663f291a0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code_usage.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code_usage.html b/code_usage.html index b13faa3..8f2df9d 100644 --- a/code_usage.html +++ b/code_usage.html @@ -201,6 +201,13 @@

Capacitive sensor MPR121https://github.com/adafruit/Adafruit_MPR121/blob/master/examples/MPR121test/MPR121test.ino

  • +

    To change the threshold for touch and release you need to adjust these both values in the sensor.h:

    +
      +
    • define NEW_TOU_THRESH 0x02
    • +
    • define NEW_REL_THRESH 0x35
    • +
    +
  • +
  • Depending on your wiring the MPR121 will register more or less contacts. You might need to change the thresholds.

    • These values can be found in the definitions.h file starting with "static const long int SAME_SENSOR_MAX_THRESHOLD = 500;"