touch_pad_config() function
Configure touch pad interrupt threshold.
Arguments
threshold
interrupt threshold,
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG if argument wrong - ESP_FAIL if touch pad not initialized
Notes
If FSM mode is set to TOUCH_FSM_MODE_TIMER, this function will be blocked for one measurement cycle and wait for data to be valid.
Examples
touch_pad_config() is referenced by 4 libraries and example projects: