Skip to main content
Arduino

Return to Revisions

2 of 2
Copy edited (e.g. ref. <http://en.wikipedia.org/wiki/Hertz#SI_multiples> and <http://english.stackexchange.com/questions/15953>).

Get 25 kHz PWM on a 16 MHz Arduino

I am trying to output a 25 kHz software PWM on at least four pins simultaneously with variable duty cycles on each pin individualy.

I've got all the actual PWM outputs via internal timers 2x8 1x16 with variable duty cycles and am looking for a way to output a 25 kHz PWM on the four pins (any pins) via an external timer if necessary. How can I do that?

AltStyle によって変換されたページ (->オリジナル) /