Probar CircuitLens

Calculadoras

Resolución PWM / temporizador

A hardware timer counts clock ticks through a prescaler up to TOP, then wraps: f=relojprescaler×(TOP+1). Those TOP + 1 counts are also the duty steps: bits=log2(TOP+1). Bigger TOP = finer duty steps but lower frequency — this shows the trade.

Más calculadoras