<?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>Low Power PWM Breathing LED</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87143/low-power-pwm-breathing-led</link><description>I would like to use the low power pwm library to get a breathing LED effect on my device. The MCU I am using is a BMD 350 and the LED is connected to nRF52 port P0.02. 
 
 I have read through the low power pwm example but am confused as to how I should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 May 2022 06:57:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87143/low-power-pwm-breathing-led" /><item><title>RE: Low Power PWM Breathing LED</title><link>https://devzone.nordicsemi.com/thread/365686?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 06:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:362d7ac2-8131-4251-a176-31a79bff6f6f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Great! I&amp;#39;m glad you found something that works for you.&lt;/p&gt;
&lt;p&gt;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: Low Power PWM Breathing LED</title><link>https://devzone.nordicsemi.com/thread/365640?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 18:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6c0bbdd-dd25-4ee2-ac56-8a8619faffeb</guid><dc:creator>Caleb Dueck</dc:creator><description>&lt;p&gt;Thank you for the help I found that I had to use the&amp;nbsp;PIN_MASK(BSP_LED_1) macro and I could then OR these together&lt;br /&gt;```(PIN_MASK(BSP_LED_1) | PIN_MASK(BSP_LED_2))```&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power PWM Breathing LED</title><link>https://devzone.nordicsemi.com/thread/365314?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 07:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85262197-e7db-494d-8358-845ced2e25e5</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I wouldn&amp;#39;t say you need anything special, but you need to input a bit mask - not a GPIO pin number.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could input the GPIO pin number in the board file though (eg. pca10040.h).&amp;nbsp;Simply edit LED_1=2;&lt;/p&gt;
&lt;p&gt;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: Low Power PWM Breathing LED</title><link>https://devzone.nordicsemi.com/thread/365021?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 17:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecc54f91-58d3-4a64-a410-71963893ab57</guid><dc:creator>Caleb Dueck</dc:creator><description>&lt;p&gt;I am trying this. However, I am still confused by the&amp;nbsp;&lt;span&gt;leds_pin_bit_mask. Do I need to do anything special or can I simply input the GPIO pin number?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power PWM Breathing LED</title><link>https://devzone.nordicsemi.com/thread/364290?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 14:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65ab1274-2490-446f-a274-f20dc2db774a</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Celab,&lt;/p&gt;
&lt;p&gt;Have you tried the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/led_softblink_example.html"&gt;led_softblink example&lt;/a&gt; as well, or just low power PWM example and the library? Does the example do what you need it to?&lt;/p&gt;
&lt;p&gt;Btw, I would suggest switching to the nRF Connect SDK if&amp;nbsp;this is a new project you are starting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>