Latency capacitive sensor

Hi, I try connect with capacitive sensor all pin digital in mega 2560.
I use the function long total1 = cs_2_3.capacitiveSensor(60); and registre latency is since 5 to 15 ms, but when I try pin since 7 to 52 the latency is 1500 - 3000 ms, is normal? Or could my mega 2560 is failed?


Can't tell until you post your ENTIRE code in code tags.

Thanks, I attach the code, help me please.

sketch_dec06a.ino (3.3 KB)

millis() and Serial.print() take a while (Serial.print() especially). They are most likely the culprits.