<?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>Meet a problem with button control in nRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39772/meet-a-problem-with-button-control-in-nrf51822</link><description>Recently, I was trying to use the button to select the specific actions. 
 Actually, the program is built successfully and it can show the &amp;quot;UART Start!&amp;quot; via serial port, but there was no button response. 
 Does there has anybody meet the same problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Oct 2018 03:59:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39772/meet-a-problem-with-button-control-in-nrf51822" /><item><title>RE: Meet a problem with button control in nRF51822</title><link>https://devzone.nordicsemi.com/thread/154594?ContentTypeID=1</link><pubDate>Fri, 26 Oct 2018 03:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:661c5f17-117b-43e3-b21b-52f7f2b8faa4</guid><dc:creator>CY</dc:creator><description>&lt;p&gt;Thank you for your response, it works&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meet a problem with button control in nRF51822</title><link>https://devzone.nordicsemi.com/thread/154516?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2018 13:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fcf3422-db99-43be-9ba9-aa8a978bf639</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This is because you have not started the LFCLK&lt;/p&gt;
&lt;p&gt;add this below code in your main() function&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;        buttons_init();
        

        err_code = nrf_drv_clock_init();
        APP_ERROR_CHECK(err_code);

        nrf_drv_clock_lfclk_request(NULL);
        
        bsp_buttons_enable();
    
        bsp_event_to_button_action_assign(0, 1, BSP_EVENT_KEY_0);
        bsp_event_to_button_action_assign(1, 1, BSP_EVENT_KEY_1);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>