<?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>Blinking LED&amp;#39;s on nrf51DK on pressing a button</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11932/blinking-led-s-on-nrf51dk-on-pressing-a-button</link><description>Hi, 
 I recently bought the nrf 51 development kit. Before implementing a BLE application on the board I wanted to start with a simple application of blinking a LED by pressing a button on the board. I am finding it difficult to understand how should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Feb 2016 08:35:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11932/blinking-led-s-on-nrf51dk-on-pressing-a-button" /><item><title>RE: Blinking LED's on nrf51DK on pressing a button</title><link>https://devzone.nordicsemi.com/thread/45193?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 08:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04109fa2-9502-4c4c-a64f-f4f273f7c5e6</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Yes, you can. You can e.g. use the GPIOTE library found in the SDK or you can configure the pins directly in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/gpiote.html?cp=1_2_0_19_3#topic"&gt;GPIOTE registers&lt;/a&gt;. What SDK 8 and 9 examples are you referring to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinking LED's on nrf51DK on pressing a button</title><link>https://devzone.nordicsemi.com/thread/45192?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 18:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:790a3914-24d5-4bf4-a9df-31e506c38c34</guid><dc:creator>soumil</dc:creator><description>&lt;p&gt;Thanks for the response. Can we also read Buttons as general GPIO Pins and without using BSP library toggle the LED on the press of button either using interrupts or without it. Any example related to that especially for SDK 11 would be appreciated. I am finding a lot of examples for SDK 8, 9 and  I suppose most of them require changes in the code in order to run in the SDK 10 or 11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinking LED's on nrf51DK on pressing a button</title><link>https://devzone.nordicsemi.com/thread/45191?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 09:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:044585fc-f11f-4ed4-9646-85c9ee28f672</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As RK says in his comment there are plenty of examples in the SDK and most of them use the bsp and gpio libraries. I do agree with you though, that the learning curve is steep for a beginner. I would recommend that you have a look at the &lt;a href="https://devzone.nordicsemi.com/tutorials/"&gt;tutorial section&lt;/a&gt; here on devzone. It has tutorials covering how to set up your kits and IDEs as well as more advanced guides on how to use Bluetooth and peripherals. You might also benefit from playing around with the peripheral examples to get a feel for of the SDK, drivers, and the nRF51 itself before you move on to the more advance Bluetooth stuff.&lt;/p&gt;
&lt;p&gt;Since you mention bsp, note that there is a bsp example in the SDK located at &amp;quot;your_sdk_folder\examples\peripheral\bsp&amp;quot; (short documentation &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bsp_example.html?cp=4_0_0_4_4_4"&gt;here&lt;/a&gt;). We also have even more example code on &lt;a href="https://github.com/nordicsemiconductor"&gt;github.com/nordicsemiconductor&lt;/a&gt;. These examples also vary in complexity, but you will e.g. find examples covering Android and iPhone apps in addition to the usual Bluetooth and ANT.&lt;/p&gt;
&lt;p&gt;You should also remember to browse the &lt;a href="https://devzone.nordicsemi.com/blogs/"&gt;blog section&lt;/a&gt;. It is quite random, but there are a lot of gold in there.&lt;/p&gt;
&lt;p&gt;And finally you will find a &lt;a href="https://devzone.nordicsemi.com/questions/scope:all/sort:relevance-desc/page:1/query:beginner/"&gt;lot of questions&lt;/a&gt; here on devzone asked by beginners.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinking LED's on nrf51DK on pressing a button</title><link>https://devzone.nordicsemi.com/thread/45190?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 01:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:237293ed-35b4-46a2-96d6-3707f4a11c84</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;There are dozens and dozens of examples with the SDK, including simple blinky ones and lots, almost all of them, use the BSP and GPIO libraries to handle button presses. Picking any one of those examples should give you some starting code to work with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>