ソースを参照

Updated touchkey para

Toby Chui 1 年間 前
コミット
7cdfba5c58
1 ファイル変更5 行追加1 行削除
  1. 5 1
      firmware/reflow/reflow.ino

+ 5 - 1
firmware/reflow/reflow.ino

@@ -9,6 +9,10 @@
    Touch Button Mappings
    Start Btn: P1.4
    Stop Btn: P1.7
+
+   Download Settings
+   CH552
+   16Mhz (internal, 3.3V or 5V)
 */
 #include <Serial.h>
 #include <TouchKey.h>
@@ -87,7 +91,7 @@ void setup() {
   TouchKey_begin((1 << 2) | (1 << 5));
 
   //refer to AN3891 MPR121 Baseline System for more details
-  TouchKey_SetMaxHalfDelta(128);      // increase if sensor value are more noisy
+  TouchKey_SetMaxHalfDelta(164);      // increase if sensor value are more noisy
   TouchKey_SetNoiseHalfDelta(8);      // If baseline need to adjust at higher rate, increase this value
   TouchKey_SetNoiseCountLimit(10);    // If baseline need to adjust faster, increase this value
   TouchKey_SetFilterDelayLimit(5);    // make overall adjustment slower