hello,
i am using nrf52840 with sx1276 i am trying to change some of the calls from arduino to nrf52840 can you tell me i am doing everything right
#define DIO0 NRF_GPIO_PIN_MAP(0, 30)
#define DIO1 NRF_GPIO_PIN_MAP(0, 31)
#define RST NRF_GPIO_PIN_MAP(1,2)
pinMode(RFM_pins.DIO0,INPUT); ->arduino
nrf_gpio_cfg_input(DIO0, NRF_GPIO_PIN_NOPULL);
pinMode(RFM_pins.RFM_RST,OUTPUT);
nrf_gpio_cfg_output(RFM_RST);-
digitalWrite(RFM_pins.RST,LOW);
nrf_gpio_pin_clear(RFM_RST);
while(digitalRead(RFM_pins.DIO0) == LOW);-->arduino
while (nrf_gpio_pin_read(DIO0) == 0);->nrf
am i doing both input and ougtput config correctly
thanks and regards
ma nikandan v