This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PWM duty setting

 Hello,

I control buzzer using below API.

I want to know the maximum value of  period_in_us.

 Thanks.

****************************************************************************************************************

#define APP_PWM_DEFAULT_CONFIG_1CH(period_in_us, pin) \
{ \
.pins = {pin, APP_PWM_NOPIN}, \
.pin_polarity = {APP_PWM_POLARITY_ACTIVE_LOW, APP_PWM_POLARITY_ACTIVE_LOW}, \
.num_of_channels = 1, \
.period_us = period_in_us \
}

Parents Reply Children
No Data
Related