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

adding pwm to ble_template

Hello everyone! I'm very shy to ask probably a stupid question, but... I'm trying get abitity to change pwm signal via ble. I've created service, characteristic, then I try to add some code from pwm_library example but Keil doesn't like my idea to add APP_PWM_INSTANCE(PWM1, 2) the error is ......\main.c(105): error: #20: identifier "TIMER0_ENABLED" is undefined I understand that timer I'm gonna use for pwm (TIMER 1 I think) is disabled. I've tried change in sdk_config.h

define TIMER1_ENABLED 0 to define TIMER1_ENABLED 1 but nothing change.

image description

Related