|
|
1 سال پیش | |
|---|---|---|
| .. | ||
| include | 1 سال پیش | |
| test_apps | 1 سال پیش | |
| CHANGELOG.md | 1 سال پیش | |
| CMakeLists.txt | 1 سال پیش | |
| Kconfig | 1 سال پیش | |
| README.md | 1 سال پیش | |
| button_adc.c | 1 سال پیش | |
| button_gpio.c | 1 سال پیش | |
| button_matrix.c | 1 سال پیش | |
| iot_button.c | 1 سال پیش | |
| license.txt | 1 سال پیش | |
| user_button.c | 1 سال پیش | |
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=*"