esp_mqtt_lcd
esp_mqtt_lcd copied to clipboard
Interrupts
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...
Did you solve it? I am facing the same issue right now.