wanghechen 492150c25a 2024.1.19修复按键导致不进入休眠 | il y a 9 mois | |
---|---|---|
.. | ||
include | il y a 9 mois | |
test_apps | il y a 10 mois | |
CHANGELOG.md | il y a 10 mois | |
CMakeLists.txt | il y a 10 mois | |
Kconfig | il y a 10 mois | |
README.md | il y a 10 mois | |
button_adc.c | il y a 10 mois | |
button_gpio.c | il y a 10 mois | |
button_matrix.c | il y a 10 mois | |
iot_button.c | il y a 10 mois | |
license.txt | il y a 10 mois | |
user_button.c | il y a 9 mois |
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=*"