how to set the duty cycle of a pwm? how to set the pwm frequency? what is that nrf_pwm_values_common_t in the pwm ?
how to set the duty cycle of a pwm? how to set the pwm frequency? what is that nrf_pwm_values_common_t in the pwm ?
Hello,
What will you be using the PWM for? It might be easier for you to familiarize with the PWM Library (app_pwm) instead of the PWM driver, in many cases. We have a separate example that demonstrate its usage.
The PWM Library lets you set the PWM duty cycle and frequency directly, like you ask about in your original ticket, it is also easier to get started with than using the PWM driver directly.
Best regards,
Karl
thats fine but i need to know how to set the duty cycle and frequency in the pwm driver ?
thats fine but i need to know how to set the duty cycle and frequency in the pwm driver ?