I would like to use the low power pwm library to get a breathing LED effect on my device. The MCU I am using is a BMD 350 and the LED is connected to nRF52 port P0.02.
I have read through the low power pwm example but am confused as to how I should configure it. Specifically what bit_mask I would need to specify P0.02 as the pwm pin.
I have copied the low power pwm example program and have specified the pin as the bitmask however the LED is not blinking.
low_power_pwm_config.bit_mask = BLUE_LED_PIN;
low_power_pwm_config.p_timer_id = &lpp_timer_0;
low_power_pwm_config.p_port = NRF_GPIO;
Any help would be appreciated.