<?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>Button Read</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16098/button-read</link><description>I want to read the onboard (dev board) buttons which i believe are P13-P16. I want to know the working code. 
 uint32_t app_button_is_pushed	(	uint8_t button_id,
bool * p_is_pushed
) 
 What do i pass to each variable because i do not believe it is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Sep 2016 09:22:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16098/button-read" /><item><title>RE: Button Read</title><link>https://devzone.nordicsemi.com/thread/61390?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2016 09:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:387c021b-b1c2-4e78-96b1-27c849a0f09f</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Thomas&lt;/p&gt;
&lt;p&gt;To detect a simple button press, look at the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fexamples.html&amp;amp;cp=6_0_0_4"&gt;pin_change_int example&lt;/a&gt; in the nRF5 SDK 11.0.0. For further button detection, check &lt;a href="https://devzone.nordicsemi.com/question/91922/ble_app_beacon-wake-up-with-button-press-on-dev-kit/?answer=92061#post-id-92061"&gt;this thread&lt;/a&gt;. For the most simple button press detection and waking up from System On or System Off low power states, look at &lt;a href="https://github.com/NordicSemiconductor/nrf51-powerdown-examples"&gt;these examples&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>