This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf51822 PWM failure

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 "TIMER1_INSTANCE_INDEX" is undefined

Where should I define that timer instance??

Related