|
8 달 전 | |
---|---|---|
.. | ||
include | 9 달 전 | |
test_apps | 9 달 전 | |
CHANGELOG.md | 9 달 전 | |
CMakeLists.txt | 9 달 전 | |
Kconfig | 9 달 전 | |
README.md | 9 달 전 | |
button_adc.c | 9 달 전 | |
button_gpio.c | 9 달 전 | |
button_matrix.c | 9 달 전 | |
iot_button.c | 9 달 전 | |
license.txt | 9 달 전 | |
user_button.c | 8 달 전 |
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=*"