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

Relay doesnt work toggling GPIO Output? how can pull it down

Hi triying to drive a Relay with Output but have tried every functon in "nrf_gpio.h"

this works with a LED perfectly : nrf_gpio_pin_toggle(23);

in the main i configure :

nrf_gpio_cfg_output(23); nrf_gpio_pin_write(23, 0);

but the relay dont change state with Toggle, with STM32 i change the pullup, pulldown configuration and it works, i have to send a "0v" signal for the Relay to change state to off, and a voltage to go on.

how can output configuration be change in a output pin? thanks.

Parents Reply Children
No Data
Related