<?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>nrf51822 PWM failure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21865/nrf51822-pwm-failure</link><description>I am trying to add the example in examples\peripheral\pwm_library to another project to get pwm working. In the other project I have included all necessary stuff but I get: 
 ..\..\..\main.c(59): error: #20: identifier &amp;quot;TIMER1_INSTANCE_INDEX&amp;quot; is undefined</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 May 2017 08:43:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21865/nrf51822-pwm-failure" /><item><title>RE: nrf51822 PWM failure</title><link>https://devzone.nordicsemi.com/thread/85856?ContentTypeID=1</link><pubDate>Mon, 08 May 2017 08:43:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3081226-1c5f-449c-80d7-b8329b4b3427</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Have you set &lt;code&gt;TIMER1_ENABLED&lt;/code&gt; to 1 ? You can set this in &lt;code&gt;nrf_drv_config.h&lt;/code&gt;(SDK version 11 and prior) or &lt;code&gt;sdk_config.h&lt;/code&gt;(from SDK version 12)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 PWM failure</title><link>https://devzone.nordicsemi.com/thread/85857?ContentTypeID=1</link><pubDate>Sun, 07 May 2017 15:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c502220a-9407-4ca2-89ed-81625a417ad5</guid><dc:creator>dingari</dc:creator><description>&lt;p&gt;Might be related to this: &lt;a href="https://devzone.nordicsemi.com/question/39716/app_pwm_instance-error/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Did you enable the peripheral?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>