setPwmRange

fun setPwmRange(lower: Double, upper: Double)

Sets the PWM range of the associated servo.

This method updates the PWM range of the servo to the specified range.

Parameters

lower

The lower bound of the PWM range (in microseconds).

upper

The upper bound of the PWM range (in microseconds).