Sir,
We want to know about sample code of how to configure GPIO pins as output, and let we know how to include them for led toggling.
Sir,
We want to know about sample code of how to configure GPIO pins as output, and let we know how to include them for led toggling.
How would you go about using the nrf_gpio_cfg_output to configure pin 1.01 for example on the nRF52840?
How would you go about using the nrf_gpio_cfg_output to configure pin 1.01 for example on the nRF52840?
Use NRF_GPIO_PIN_MAP(port, pin) macro to define the pin, or simply add 32 to the pin number for port 1, i.e., 33 in your example (P1.01).