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