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

how do I access gpio pins?

Currenetly I access the gpio pins by using this code (P1.01 this pin)

#define PIN_1         ARDUINO_0_PIN

nrf_gpio_cfg_output(PIN_1);

and so on

Is there any other way to define the pin?

Please provide an exammple;

Related