LEDC low-speed channels not starting?

User avatar
TinkerBearNZ
Posts: 9
Joined: Mon Jun 17, 2019 11:20 pm

LEDC low-speed channels not starting?

Postby TinkerBearNZ » Mon Jul 15, 2019 6:13 am

I've been trying to use (possibly mis-use) the LEDC PWM generators as general waveform generators.

I've run into an instance where setting up 1 high-speed channel and 1 low-speed channel at a low frequency results in no output on the low-speed channel. This has been super frustrating, because I've got similar code that runs fine. It seems to be something to do with starting other channels.

Hacked/reduced version of ledc_example_main.c attached to show the problem.
Attachments
ledc_example_main.c
(1.41 KiB) Downloaded 658 times

Who is online

Users browsing this forum: No registered users and 10 guests