Hey guys,
I have nrf52832 custom Bluetooth module. It is stand alone nr52832 module . I just want to toggle any gpio on this module .
Can you guys tell me which library should I use ? Or do I have to develop my own firmware?
Thank you.
Hey guys,
I have nrf52832 custom Bluetooth module. It is stand alone nr52832 module . I just want to toggle any gpio on this module .
Can you guys tell me which library should I use ? Or do I have to develop my own firmware?
Thank you.
Hi,
You can use the GPIO HAL functions to configure and control GPIOs.
#define OUTPUT_PIN NRF_GPIO_PIN_MAP(0, 31) // P0.31 nrf_gpio_cfg_output(OUTPUT_PIN); nrf_gpio_pin_set(OUTPUT_PIN); nrf_gpio_pin_toggle(OUTPUT_PIN);
Best regards,
Jørgen
Hi,
You can use the GPIO HAL functions to configure and control GPIOs.
#define OUTPUT_PIN NRF_GPIO_PIN_MAP(0, 31) // P0.31 nrf_gpio_cfg_output(OUTPUT_PIN); nrf_gpio_pin_set(OUTPUT_PIN); nrf_gpio_pin_toggle(OUTPUT_PIN);
Best regards,
Jørgen