ESP-IDF tutorial series: GPIO get started - Part 2 · Developer Portal #659
Replies: 2 comments
-
|
gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT); causes an error in ESP-IDF 5.5.2, use instead gpio_install_isr_service(0); |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
#include "esp_log.h" #define BUTTON_GPIO 18 static void IRAM_ATTR button_isr_handler(void *arg) void app_main(void) } |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ESP-IDF tutorial series: GPIO get started - Part 2 · Developer Portal
In this article, we explore how to configure GPIO pins as inputs in ESP-IDF and discuss the importance of pull-up/pull-down resistors. We will try two approaches for reading GPIO values: polling and event-driven interrupts, showing how to implement each method effectively.
https://developer.espressif.com/blog/2026/02/esp-idf-tutorial-gpio-get-started-2/
Beta Was this translation helpful? Give feedback.
All reactions