This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Will this function "nrf_gpio_cfg_pin_output" make gpio low?

I am using nrf52832. I have one led connected to the gpio 25 through the active low condition.

i am trying to configure gpio 25 using this "nrf_gpio_cfg_pin_output(25);"

nrf_gpio_cfg_pin_output(25) function makes the led glow without use of nrf_gpio_pin_clear(25); or nrf_gpio_pin_set(25);.

Please suggest to me how to make led off.

Thanks

Related