Page 1 of 1

Divide by 10 Clock divider

Posted: Fri Oct 03, 2025 3:57 pm
by RickRac
On a ESP32-S3, I want to create a simple clock output of say 7.8 Hz.

ledcAttachChannel(1,78,12, 2); //will give me 78 Hz quite nicely.
How can I divide the clock down by 10 or even 100? This is simple for some but I am so frustrated trying things.
Thanks Rick