This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

pin_change_int example

void in_pin_handler (nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action)
{ nrf_drv_gpiote_out_toggle(PIN_OUT);

}

This function work with interupt event (push button). I can't understand where we use its 2 parameters (pin and action) or it's not usual function.

Related