Do you have any hints about how I can manage 'long presses' when recalibration is enabled (the default)?
What I think I am seeing is recalibration whilst a user is holding the button (for, let's say 10 seconds). When the user finally releases the button, the action is not detected, and from then on the button is 'dead' until I reset my board.
The documentation says that recalibration is triggered when the threshold is exceeded for touched_max_nom, and I wondered if there was a counter setting where if no touch was detected for a certain period, recalibration would be triggered?
At the moment I am disabling recalibration (set touched_max_nom to 255), but I am worried that environmental changes might make the buttons less responsive over time (the circuit is supposed to be in use for > 12hrs).
Hopefully I just missed a piece of documentation :)
Do you have any hints about how I can manage 'long presses' when recalibration is enabled (the default)?
What I think I am seeing is recalibration whilst a user is holding the button (for, let's say 10 seconds). When the user finally releases the button, the action is not detected, and from then on the button is 'dead' until I reset my board.
The documentation says that recalibration is triggered when the threshold is exceeded for
touched_max_nom, and I wondered if there was a counter setting where if no touch was detected for a certain period, recalibration would be triggered?At the moment I am disabling recalibration (set
touched_max_nomto 255), but I am worried that environmental changes might make the buttons less responsive over time (the circuit is supposed to be in use for > 12hrs).Hopefully I just missed a piece of documentation :)