wanghechen e3ead0e199 203.12.30 将两个屏幕任务合并 | пре 10 месеци | |
---|---|---|
.. | ||
include | пре 10 месеци | |
test_apps | пре 10 месеци | |
CHANGELOG.md | пре 10 месеци | |
CMakeLists.txt | пре 10 месеци | |
Kconfig | пре 10 месеци | |
README.md | пре 10 месеци | |
button_adc.c | пре 10 месеци | |
button_gpio.c | пре 10 месеци | |
button_matrix.c | пре 10 месеци | |
iot_button.c | пре 10 месеци | |
license.txt | пре 10 месеци | |
user_button.c | пре 10 месеци |
After creating a new button object by calling function button_create()
, the button object can create press events, every press event can have its own callback.
List of supported events:
There are three ways this driver can handle buttons:
Please use the component manager command add-dependency
to add the button
to your project's dependency, during the CMake
step the component will be downloaded automatically
idf.py add-dependency "espressif/button=*"