Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdbool.h>
#include <stdint.h>
#include "boards.h"
#include "nrf_delay.h"
#include "nrf_gpio.h"
#include "nrf.h"
#include "nrf_drv_gpiote.h"
#include "app_error.h"
#include "nrf_drv_timer.h"
#include "app_timer.h"
#include "app_button.h"
#include "nrf_drv_ppi.h"
#define PIN_IN BSP_BUTTON_3
#define PIN_IN_1 BSP_BUTTON_2
#define PIN_OUT BSP_LED_3
#define PIN_OUT_1 BSP_LED_2
//void Tarama_Basla(void)
//{
// nrf_gpio_cfg_output(PIN_OUT);
Here is my code. I did it one button but i must add 4 button. How to use multiple pins for interrupt?