-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to modifying the PWM frequency on the OpenCM9.04 ? #106
Comments
Hi @adluthi PWM supported GPIO pins and timers are described in the below. The PWM driver is implemented as below. Thank you. |
Hi @ROBOTIS-Will, Thank you for your answer however since I am a new user with the OpenCM board and also because I am coding in Arduino, I don't know how the files you sent me could help me... For example, I have done this code which allows me to set a duty cycle through serial communication but I really don't get how to tune the frequency. The setPeriod() function does not change anything. Can you guide me, please? Thank you, ` HardwareTimer timer(TIMER_CH1); void setup() { void loop() { recvWithEndMarker(); void recvWithEndMarker() {
} void setPWM() { |
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!
The text was updated successfully, but these errors were encountered: