Servo Angle / Pulse Width Converter

basic

Convert servo angle to PWM pulse width.

Formula

pulse = angle / 180 x (max - min) + min