<?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>CSense Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50787/csense-example</link><description>Hello, 
 
 I don&amp;#39;t know why when the code achieve the 
 nrf_csense_add(&amp;amp;m_button); 
 the program hold out. 
 
 Thanks in advance.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Aug 2019 13:42:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50787/csense-example" /><item><title>RE: CSense Example</title><link>https://devzone.nordicsemi.com/thread/203109?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 13:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48816495-7532-42c5-b03c-aaf8c09975b7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;holds out&amp;quot;? Is it so that this happens when you don&amp;#39;t comment out the last two lines? If so, I wonder if the problem is that&amp;nbsp;err_code is not 0 (NRF_SUCCESS)? Please debug and let me know. If the error code is not 0, then what is it?&lt;/p&gt;
&lt;p&gt;You may find this post useful: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/an-introduction-to-error-handling-in-nrf5-projects"&gt;An introduction to error handling in nRF5 projects&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CSense Example</title><link>https://devzone.nordicsemi.com/thread/203100?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 13:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db467e56-0091-42c7-8909-2980897c9e4d</guid><dc:creator>Juan Moya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I need comment this part of the code:&lt;/p&gt;
&lt;p&gt;void csense_start(void){&lt;br /&gt; ret_code_t err_code;&lt;/p&gt;
&lt;p&gt;static uint16_t touched_counter = 0;&lt;/p&gt;
&lt;p&gt;err_code = nrf_csense_init(nrf_csense_handler, APP_TIMER_TICKS_TIMEOUT);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; nrf_csense_instance_context_set(&amp;amp;m_button, (void*)&amp;amp;touched_counter);&lt;br /&gt; &lt;br /&gt; //err_code = nrf_csense_add(&amp;amp;m_button);&lt;br /&gt; //APP_ERROR_CHECK(err_code);&lt;br /&gt; &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;because this part holds out the program.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CSense Example</title><link>https://devzone.nordicsemi.com/thread/203090?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 13:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fb10e51-5f88-4cb2-b6b4-1039ae6b0764</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. And that did not work as expected? What is the problem? Please elaborate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CSense Example</title><link>https://devzone.nordicsemi.com/thread/203076?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 12:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b91f30-26d1-40b4-b993-c08542a02211</guid><dc:creator>Juan Moya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I get the SDK 15 example ble uart, and I want to include the csense utility in a pad of the micro.&lt;/p&gt;
&lt;p&gt;So, I get the csense example and I try to import it to the ble uart example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CSense Example</title><link>https://devzone.nordicsemi.com/thread/203072?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 12:47:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1d3d4ae-fedf-4cf3-9aee-8ac27610ca8e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you clarify the question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>