Hi Jan, > On 13 Jan 2015, at 11:13, Jan Wagner <[email protected]> wrote: > > https://github.com/RIOT-OS/RIOT/blob/master/boards/yunjia-nrf51822/include/periph_conf.h > > #define GPIO_0_PIN 7 > #define GPIO_1_PIN 8 > #define GPIO_2_PIN 9 > etc. > > I dont get why its starting at 7. i dont own a yunia board. > > (http://forum.rfduino.com/index.php?topic=377.0 - Pin assignment nRF51822 -> > RFD22301)
I’m not the expert for these nrf MCUs/boards but these mappings work on MCU pin numbering. So `GPIO_0_PIN` which is MCU’s pin 7 could be mapped to the boards’s pin with the label “P1.1000” (I’m making these up). So you’ll need the boards data sheet to get the MCU’s pin connected to which board pin. Best, Thomas _______________________________________________ devel mailing list [email protected] http://lists.riot-os.org/mailman/listinfo/devel
