esp-iot-solution icon indicating copy to clipboard operation
esp-iot-solution copied to clipboard

Support of the capacitive touch in iot_button (AEGHB-230)

Open espzav opened this issue 1 year ago • 2 comments

Hi, please, do you plan to add support for capacitive touch buttons into the iot_button component? We are using this component in ESP-BSP and we would like to unify code for GPIO/ADC/Touch buttons.

Thank you.

espzav avatar Jun 05 '23 11:06 espzav

Hi @espzav yes I think officially support Touch sensor in button compoment can be good, However, compared with GPIO/ADC, Touch sensor is much more complicated. Users must adjust multiple parameters according to their own hardware, which may greatly increase the complexity of iot_button component. We'll think about it, but it might take some time

leeebo avatar Jun 05 '23 14:06 leeebo

If integrating touch buttons temporarily within regular buttons is not feasible, you can use the custom_button type within buttons. Users will handle a series of touch button detections.

lijunru-hub avatar Jul 08 '24 07:07 lijunru-hub