<?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>Toggle lightness with one button only.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82220/toggle-lightness-with-one-button-only</link><description>Hi, I&amp;#39;m a beginner at this so I would appreciate any help thank you! 
 I&amp;#39;m trying out light_lightness example v4.2.0. 
 From RTT Viewer, I want the LED to be able to toggle between 0 to max brightness when I only send the value 1. Is it possible?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Dec 2021 19:26:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82220/toggle-lightness-with-one-button-only" /><item><title>RE: Toggle lightness with one button only.</title><link>https://devzone.nordicsemi.com/thread/342602?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 19:26:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31a61188-8e5b-49a5-b154-b839d92ab90d</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey again!&lt;/p&gt;
&lt;p&gt;I see you are already getting help from Martin about this on case 280548. I&amp;#39;ll end this one then.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Toggle lightness with one button only.</title><link>https://devzone.nordicsemi.com/thread/342226?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 06:23:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73eed432-206e-48d6-bbb1-948c43c72979</guid><dc:creator>lim zhi</dc:creator><description>&lt;p&gt;Hi, thank you for your reply.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82220/toggle-lightness-with-one-button-only/342039#342039"]If you wanted something more focused on the LED lighting up part then I would recommend the Blinky example.[/quote]
&lt;p&gt;Yes, I have taken a look at the Blinky example, but that does not use buttons to toggle the LED.&lt;/p&gt;
&lt;p&gt;I want to turn on the LED on the light_lightness example using buttons, and send a message to the client that I have lit up a button on the server. So how do I do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Toggle lightness with one button only.</title><link>https://devzone.nordicsemi.com/thread/342039?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 11:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:574019ef-6f34-438e-9994-14cee8193d20</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello! Sorry about the delay!&lt;/p&gt;
&lt;p&gt;Yes, I think that can be done. Though first of all, keep in mind that the light_lightness example is a mesh example, in order for you to develop mesh networks of multiple lights. For the light lightness server to light up, it &lt;em&gt;could&lt;/em&gt; be more relevant to use a mesh message sent from the client. &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.2.0/md_examples_light_lightness_README.html?cp=8_6_0_3_6"&gt;See the documentation here for more info&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you wanted something more focused on the LED lighting up part then I would recommend the Blinky example.&lt;/p&gt;
&lt;p&gt;I just wanted to ask you and make sure.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>