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

Add pwm Library to ble app uart example

Hi everybody,

I am having a problem using pwm with ble_app_uart example, let me explain, I want to control a servo motor via Bluetooth, so I use the ble_app_uart example to communicate via Bluetooth, and to control a servo motor I need to use pwm output, so I tried to add the pwm Library to my ble_app_uart project, I Added the file to the project items : 

also I Added the file path to the included file paths :

I have also set PWM_ENABLED 1 and APP_PWN_ENABLED 1 in sdk_config.h

I have check that I Don't have the sdk_config.h twice of that PWM_ENABLED is not defined somewhere else, 

and I Always have the same error (20 errors actually) : 

I have no idea what is going on, any idea is welcome,

thank you!

in case you need to know, here are all the files I have in nrf_Drivers and nrf_Libraries : 

Related