Hi,
I have very trivial question. I open the template program which is attached in SDK 11.0. In application timers start function I wrote the following code. The result is value 1 on the terminal. I will be really grateful if someone can help. I tested the program on two nrf51822 chips but I got the same result. Is it possible that I have some settings which block gpio functions.
static void application_timers_start(void)
{
uint32_t pin = 9;
nrf_gpio_cfg_output(pin);
nrf_gpio_pin_clear(pin);
NRF_LOG_PRINTF("%d\r\n", nrf_gpio_pin_read(pin));
}
Thanks for help in advance.