Search found 2 matches
Re: ESP32 ISR
Ok, you are right. I have copied the code from event_groups.h and that says "portYIELD_FROM_ISR( xHigherPriorityTaskWoken );" However the correct way to call portYIELD_FROM_ISR() without parameter. So I have commented the portYIELD_FROM_ISR( xHigherPriorityTaskWoken ) line because I got this error a...
ESP32 ISR
Hello, I need to use external interrupt with my ESP32. I set up the code like this: gpio_pad_select_gpio(GPIO_NUM_5); gpio_set_direction(GPIO_NUM_5, static_cast<gpio_mode_t>(GPIO_MODE_INPUT)); gpio_set_pull_mode(GPIO_NUM_5, GPIO_PULLUP_ONLY); gpio_set_intr_type(GPIO_NUM_5, GPIO_INTR_NEGEDGE); gpio_i...