Hi Everyone
I have the following issue in my application code.
If i configure a pin as an input pin , i am not able to run the ble init function in which it advertises.
If i comment out the input pin configuration, i am able to run the ble part of program and it sends data successfully to the nrfconnect App.
Here is the code that i am using,.
Am i using the correct method to configure the pin as an input pin.(nrf_gpio_cfg_input(1,NRF_GPIO_PIN_PULLDOWN)) ?
If not ,then what is the proper way to perform this action.
Thanks
Rajat!
int main(void) { nrf_gpio_cfg_input(1, NRF_GPIO_PIN_PULLDOWN); ble_init(); while(1) { ble_send("hello"); /*This works perfectly if i comment the nrf_gpio_cfg_input line*/ } }