Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 10 months ago.
any nrf51 dongle gpio assingment examples
I am working with the nrf51 dongle. I am looking for an example that will turn on and off any of the GPIO pins (P0.15-P0.20) so I connect to the dongle externally . If the example is only for a GPIO pin to follow the LED that is on the board, that would be get.
I was looking at mbed programs for nrf51822 (where there is 4 LEDS assigned to individual GPIO pins). I was able to program the LEDs to do what I would like them to do and was able to connect to their GPIO pins for external use. When I looked at how the LEDs corresponded to GPIO, I could not find in examples. I figured if I can see how the nrf5188 defines the LEDs to GPIO pins, I could apply it to the dongle.
Any help with this would be helpful. Thanks