Hi. I would like to do Pulse Counter with mgos_gpio_set_int_handler
What I did is
mgos_gpio_setup_input(19, MGOS_GPIO_PULL_UP);
mgos_gpio_enable_int(19);
mgos_gpio_set_int_handler(19, MGOS_GPIO_INT_EDGE_NEG, PulseUpdate, NULL);
But when state is LOW it still counting how to make it count only 1 ?
Thanks you