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

how to configure two gpio pins for pwm

main.cHello everyone

i am trying to configure two GPIO pins for PWM in order to increase the sound level of the buzzer i am able make the buzzer beep sound by referring the pwm example but in this example i did not find the GPIO configuration

///* 1-channel PWM, 200Hz, output on DK 7 pin. */

app_pwm_config_t pwm1_cfg = APP_PWM_DEFAULT_CONFIG_1CH(1500L,7);

so can anyone suggest how to configure 2gpio pins for one buzzer connection any ideas and suggestions will be really useful for me

Thank you

Related