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

Use P0.05 AIN3 as outuput

Hello all,

I'm trying to use P0.05 (AIN3) as output, but it does not work.

in file .dts is used as:
rts-pin = <5>;
status = "okay";
of uart0, I have to change this config? 

This is my code for putting pin 5 HIGH:
#define LATCH 5
#define ON 1
gpio_pin_configure(dev, LATCH, GPIO_OUTPUT); 
gpio_pin_set_raw(dev, LATCH, ON);

All other pins (for example 29, 13,  24, 9, 16) works well. Do you have some suggestion for me?

P.S. I'm using nrf connect sdk 1.6

Thanks
best regards

Parents Reply Children
No Data
Related