touch_pad_set_thresh() function
Set touch sensor interrupt threshold
Arguments
threshold
threshold of touchpad count, refer to touch_pad_set_trigger_mode to see how to set trigger mode.
Return value
- ESP_OK on success - ESP_ERR_INVALID_ARG if argument is wrong
Examples
touch_pad_set_thresh() is referenced by 1 libraries and example projects: