<?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>Enocean Mesh example for dimming using PWM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40106/enocean-mesh-example-for-dimming-using-pwm</link><description>Hi, 
 I need to use 
 p_status-&amp;gt;action == RELEASE_ACTION 
 to set the brightness level, but the p_status-&amp;gt;action only gets updated after the loop finish so: 
 if (p_status-&amp;gt;action == RELEASE_ACTION) break; 
 doesn&amp;#39;t break the loops to increase or decrease</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Nov 2018 14:40:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40106/enocean-mesh-example-for-dimming-using-pwm" /><item><title>RE: Enocean Mesh example for dimming using PWM</title><link>https://devzone.nordicsemi.com/thread/156516?ContentTypeID=1</link><pubDate>Thu, 08 Nov 2018 14:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f6c0ce1-21fa-4d67-9c1e-5dc01a42ca65</guid><dc:creator>PM Bubblynet</dc:creator><description>&lt;p&gt;hey!, So I have tried many things, adding another variables to store ACTION_CHANCE for example, or moving the PWM loop to the app_enooan_cb that calls app_switch_debounce, nothing works... as soon as I make any loop the p_status-&amp;gt;action or status.action doesn&amp;#39;t get updated...&lt;/p&gt;
&lt;p&gt;PS, and on the other ticket there is no news on the last 4 days either...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enocean Mesh example for dimming using PWM</title><link>https://devzone.nordicsemi.com/thread/156209?ContentTypeID=1</link><pubDate>Tue, 06 Nov 2018 15:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ba90388-5774-4480-aac9-8202627eae79</guid><dc:creator>PM Bubblynet</dc:creator><description>&lt;p&gt;We tried but there it&amp;nbsp;say to check the button value witch makes no sense, there is no button on this EnOcean... the only thing we have is the p_status variable that &amp;quot;should&amp;quot; store the PRESS_ACTION or the RELEASE_ACTION... but its not updated inside the bounce so he say to make another variable that will use PRESS_ACTION to store &amp;quot;1&amp;quot; and RELEASE_ACTION to sore &amp;quot;0&amp;quot; which doesn&amp;#39;t work because RELEASE_ACTION is not updated until the whole ...debounce... runs... so it will not go to &amp;quot;0&amp;quot; either...&lt;/p&gt;
&lt;p&gt;RELEASE_ACTION its stored somewhere since it doesn&amp;#39;t matter how long the delay is, we can see on the debug terminal the RELEASE_ACTION afterwards...&lt;/p&gt;
&lt;p&gt;So the questions remains... how can we access that one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enocean Mesh example for dimming using PWM</title><link>https://devzone.nordicsemi.com/thread/156197?ContentTypeID=1</link><pubDate>Tue, 06 Nov 2018 15:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3249473-2d5a-4fa7-ad90-c5d60ead9de6</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;This is exactly the same case&amp;nbsp;as the case your colleague opened. I would suggest following up there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enocean Mesh example for dimming using PWM</title><link>https://devzone.nordicsemi.com/thread/155783?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 14:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad61e4c6-2e36-4ff9-b734-3dcf69c7e614</guid><dc:creator>PM Bubblynet</dc:creator><description>&lt;p&gt;yes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enocean Mesh example for dimming using PWM</title><link>https://devzone.nordicsemi.com/thread/155776?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 13:59:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:830d7071-ee65-40f7-b050-62e1f53ae8c5</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Which mesh sdk are you currently using? v2.2.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>