Divide by 10 Clock divider

RickRac
Posts: 7
Joined: Thu Apr 29, 2021 8:10 pm

Divide by 10 Clock divider

Postby RickRac » Fri Oct 03, 2025 3:57 pm

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

eriksl
Posts: 232
Joined: Thu Dec 14, 2023 3:23 pm
Location: Netherlands

Re: Divide by 10 Clock divider

Postby eriksl » Thu Jul 30, 2026 8:40 am

That is very little information. What is it you actually want (without skipping to some "solution")?

Who is online

Users browsing this forum: Applebot and 1 guest