Hi
I am using the HW driver library for the PWM.
I looked at your example and in order to change the duty cycle of a channel, you directly change it in the m_demo1_seq_values.
The change is done in the handler, when NRF_DRV_PWM_EVT_FINISHED event occur.
My questions are:
- Can I change a duty cycle in m_demo1_seq_values not in the handler routine? the Duty cycle change occurs no so often, and I don't want to enter the handler every time that NRF_DRV_PWM_EVT_FINISHED occur, as it "disturbs" the cpu
- When changing the duty cycle, when the change actually take place?
Thanks
Arik Ramon