hello, i am using ble_app_uart code and in this pwm is also used but when i am enabling pwm my bluetooth connection gets disconnected. will you please tell me how to use pwm feature in the ble_app_uart. Pallavi.
hello, i am using ble_app_uart code and in this pwm is also used but when i am enabling pwm my bluetooth connection gets disconnected. will you please tell me how to use pwm feature in the ble_app_uart. Pallavi.
What does your code look like?
Hello sir,
i have done this.now i can use the pwm feature in ble_uart_app
Thank you
Pallavi.
I had done this by doing following thing: in ble_app_uart project 1.add library of pwm in the components/library folder in library section from left side of project then i had added pwm.h file in main 2.after that added drivers of ppi,timer and pwm as nrf_drv_ppi.c, nrf_drv_timer.c and nrf_drv_pwm.c in the driver folder of left side which is in components/nrf_driver folder 3.after that i have added path of these files in the target: go to options for target->click on c/c++->and add the path of library and driver which you had added on your project. 4.after doing all this i had copied the contents of the sdk_config.h of pwm in to the sdk_config.h of ble_app_uart file. then added the pwm code in ble_app_uart code and finally compiled my code. it is compiled successfully and now i can able to generate pwm in ble_app_uart.
Thank you Pallavi.