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