how To use the LEDC/PWM functions

khalil_dz
Posts: 8
Joined: Sat Dec 22, 2018 4:14 pm

how To use the LEDC/PWM functions

Postby khalil_dz » Sat Dec 22, 2018 11:06 pm

can we use the function "" ledc_timer_config() "" on arduino ;because the function" ledcSetup " does not give access for the timer choice (timer1, .... or speed_mode).
I want to generate 4 pwm per timer.
can you help me .

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: how To use the LEDC/PWM functions

Postby ESP_krzychb » Sun Dec 23, 2018 7:34 am

khalil_dz wrote:can we use the function "" ledc_timer_config() "" on arduino ;

Hi khalil_dz,

Yes, here is an example how.

khalil_dz
Posts: 8
Joined: Sat Dec 22, 2018 4:14 pm

Re: how To use the LEDC/PWM functions

Postby khalil_dz » Tue Dec 25, 2018 5:52 pm

  1. thanks a lot ;)  krzychb

khalil_dz
Posts: 8
Joined: Sat Dec 22, 2018 4:14 pm

Re: how To use the LEDC/PWM functions

Postby khalil_dz » Wed Dec 26, 2018 12:23 am

thanks a lot ;) krzychb

Who is online

Users browsing this forum: No registered users and 65 guests