esp_mqtt_lcd icon indicating copy to clipboard operation
esp_mqtt_lcd copied to clipboard

Interrupts

Open scargill opened this issue 7 years ago • 1 comments

Well, I tried to get GPIO14 to work with interrupts - and I get nothing...

static void electric_intr_handler(void* arg) { uint32_t gpio_status = GPIO_REG_READ(GPIO_STATUS_ADDRESS); //clear interrupt status GPIO_REG_WRITE(GPIO_STATUS_W1TC_ADDRESS, gpio_status & BIT(14)); electric_pulses+=1; }

and the last thing in my setup... easygpio_attachInterrupt(14, EASYGPIO_NOPULL, electric_intr_handler, NULL);

Did I miss something - no matter how I toggle GPIO14 up and down -the count (electric_pulses) remains at zero...

scargill avatar Apr 08 '17 17:04 scargill

Did you solve it? I am facing the same issue right now.

bastianhjaeger avatar Jul 03 '18 21:07 bastianhjaeger