touch_pad_set_filter_period() function
set touch pad filter calibration period, in ms. Need to call touch_pad_filter_start before all touch filter APIs
Arguments
new_period_ms
filter period, in ms
Return value
- ESP_OK Success - ESP_ERR_INVALID_STATE driver state error - ESP_ERR_INVALID_ARG parameter error
touch_pad_set_filter_period() calls 6 functions:
![]()
touch_pad_set_filter_period()
touch_pad_set_filter_period() reads 9 variables and writes 1 variable:
![]()
touch_pad_set_filter_period()