wanghechen e3ead0e199 203.12.30 将两个屏幕任务合并 | hai 10 meses | |
---|---|---|
.. | ||
include | hai 10 meses | |
test_apps | hai 10 meses | |
CHANGELOG.md | hai 10 meses | |
CMakeLists.txt | hai 10 meses | |
Kconfig | hai 10 meses | |
README.md | hai 10 meses | |
button_adc.c | hai 10 meses | |
button_gpio.c | hai 10 meses | |
button_matrix.c | hai 10 meses | |
iot_button.c | hai 10 meses | |
license.txt | hai 10 meses | |
user_button.c | hai 10 meses |
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=*"