Go Down

Topic: Change PWM frequency on pin D5 and D6 (from 1Khz to 500hz ) (Read 641 times) previous topic - next topic

roanx

Please, I would want to change the frequency on D5 and D6 PWM pins from 1Khz to 500hz (like D3 and D9 PWM pins) because I want to pilot 4 ESC (and now I'm able to pilot only the ESC on D3 and D9 pins).
I know that Arduino UNO has three timers:  D5 and D6 on Timer 0 (PWM ~1Khz); D9, D10 on timer1 (PWM ~500hz) and D3, D11  on Timer2 (PWM ~500hz).
I understood that Intel Curie has only two timers:  D5 and D6 on Timer 0 (PWM ~1Khz) and D3, D9 on timer1 (PWM ~500hz). Is it right?
Does a way exist to change the frequency on D5 and D6 by "Intel Curie registers/ Library"?
How can I do?
Thank you.

facchinm


roanx


Go Up