changing pwm frequency #957
-
is there anyway to change all pwm pin frequencies to 31372.55 Hz |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Depending on the platform...you would be lucky to get an exact match to any specific frequency, unless it was an available divisor of the crystal clock. I note your freq is /510 of 16mHz. Using sendRAW you should be able to set the carrier close with hardware PWM configured |
Beta Was this translation helpful? Give feedback.
-
You know the function |
Beta Was this translation helpful? Give feedback.
You know the function
void timerConfigForSend(uint8_t aFrequencyKHz)
?