Is there a way to set duty cycle before app_pwm_enable(&PWM1) call ?
Or some other simple way to switch on and off a passive buzzer signal without every time at off/on cycle to go with complex sequence for setting duty value as per pwm_library example?
Let say some app like Morse Code where the frequency will be resonance of the buzzer and duty cycle will be constant 50 (or less).
Thanks