Search found 2 matches

by spyromus
Thu Aug 29, 2019 4:58 am
Forum: General Discussion
Topic: Is LEDC low speed timer working?
Replies: 1
Views: 2344

Re: Is LEDC low speed timer working?

I think I tried this example code before and then turned away for some reason -- https://github.com/espressif/esp-idf/blob/master/examples/peripherals/ledc/main/ledc_example_main.c Now that I tried it again, it worked perfectly for 12 channels that I need to drive servos (8 HS and 4 LS). Even though...
by spyromus
Wed Aug 28, 2019 6:38 pm
Forum: General Discussion
Topic: Is LEDC low speed timer working?
Replies: 1
Views: 2344

Is LEDC low speed timer working?

Hi everyone, I seem can effortlessly make LEDC high speed timer, but no matter what I try I can't make low speed one start counting. Here's the task I run from the app_main() function: void pwm_task(void *pvParameter) { DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_LEDC_CLK_EN); DPORT_CLEAR_...