I am trying to start leds with pwm using buttons with timer initialized. Pls help
I am trying to start leds with pwm using buttons with timer initialized. Pls help
Hi,
Please take a look at the pwm_library example in the SDK. Located in the folder SDK_folder\examples\peripheral\pwm_library
i am using sdk v11.0
Ok, and if you also are using nRF51, then you should use the pwm_library. The pwm_library implements PWM using PPI,GPIOTE and TIMER. For nRF51, you should start the PWM in the interrupt the button press generates. Take a look at the pin_change_int example on how to generate button press interrupts.
Ok, and if you also are using nRF51, then you should use the pwm_library. The pwm_library implements PWM using PPI,GPIOTE and TIMER. For nRF51, you should start the PWM in the interrupt the button press generates. Take a look at the pin_change_int example on how to generate button press interrupts.