|
|
vor 1 Jahr | |
|---|---|---|
| .. | ||
| include | vor 1 Jahr | |
| test_apps | vor 1 Jahr | |
| CHANGELOG.md | vor 1 Jahr | |
| CMakeLists.txt | vor 1 Jahr | |
| Kconfig | vor 1 Jahr | |
| README.md | vor 1 Jahr | |
| button_adc.c | vor 1 Jahr | |
| button_gpio.c | vor 1 Jahr | |
| button_matrix.c | vor 1 Jahr | |
| iot_button.c | vor 1 Jahr | |
| license.txt | vor 1 Jahr | |
| user_button.c | vor 1 Jahr | |
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=*"