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

Add PWM function to BLE uart

Hi guys, me again.

Thanks for all the help before. I was developing me code with the example uart and now would like to control a LED with PWM output.

I have went through the PWM library example code and get to know how to set up the pin, function and control the duty cycle of the PWM signal.

My question is, when I was trying to add the functions to my BLE uart code, the error came out. The error appears after I add the app_pwm.c file to the project. What I have done is the following:

Include the app_pwm.h header to the uart main file, Add existing app_pwm.c file to the project, Add link in the C/C++ to the project, Enable the ppi, app_timer, app_pwm in the sdk_config.h file.

After that, I build the code but the error came out like the following: image description

I have search through here and there are some people have similar issue, I have tied with their solution, but still the error came out.

FYI

image description image description

Parents Reply Children
No Data
Related