Function esp_idf_sys::touch_pad_set_thresh
source ยท pub unsafe extern "C" fn touch_pad_set_thresh(
touch_num: touch_pad_t,
threshold: u16,
) -> esp_err_t
Expand description
@brief Set touch sensor interrupt threshold @param touch_num touch pad index @param threshold threshold of touchpad count, refer to touch_pad_set_trigger_mode to see how to set trigger mode. @return - ESP_OK on success - ESP_ERR_INVALID_ARG if argument is wrong