Modifying PWM frequency from a OpenCM9.04

Hi all,

I am using the OpenCM9.04 board on Arduino and I want to control the frequency of the PWM generated but I don’t find any way to do it…

I have found on the link at the section “4.5.5.4. Arduino Compatibility” but I don’t find which timer controls the PWM signal (point 1 on the 4.5.5.4 part)…

Does anyone have an idea how to do that please?

Thank you in advance!

Hello @adluthi ,

Welcome to RobotShop community.

Please check this link to see how you can initialize the timer that corresponds to the pin you are using:
https://emanual.robotis.com/docs/en/parts/controller/opencm904/

You will find an example under the “Servo” section.

Let us know if you need further assistance.

Sincerely,