<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrf gpio config</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3384/nrf-gpio-config</link><description>my led connect whit a pin like this:
the led positive connect whit VCC and the negative connect whit a pin through a resistors. 
 when I config the pin as a output like this nrf_gpio_cfg_output(GREEN_LED_PIN_NO);
but sometime s the program will dies</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Aug 2014 12:42:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3384/nrf-gpio-config" /><item><title>RE: nrf gpio config</title><link>https://devzone.nordicsemi.com/thread/12293?ContentTypeID=1</link><pubDate>Thu, 07 Aug 2014 12:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9d9d928-04ae-4c5f-bb8c-614e0ae0465a</guid><dc:creator>John</dc:creator><description>&lt;p&gt;If you suspect that power is a problem, using the debugger set a breakpoint on the first instruction in your main() and check the reset reason in POWER peripheral. Alternatively you can initialize the soft device and obtain the reset reason from the call to sd_power_reset_reason_get&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>