Convert servo angle to PWM pulse width.
Formula
pulse = angle / 180 x (max - min) + min
Pulse Width
—
Duty Cycle