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

Cannot pull down a GPIO pin which is shared with LED

Hi,

I added following code in saadc example code to set GPIO pin high/low and monitor it in the terminal. The pull up looks ok, but when I set it to low, the reading never goes down to 0. This happened on the shared pins with LED but not the others. Is there anything I need to set or turn off make these pin fully act as generic GPIO?

nrf_gpio_cfg_output(ARDUINO_7_PIN); nrf_gpio_pin_write(ARDUINO_7_PIN, 0);

Related