enablePWM

open fun enablePWM(enable: Boolean)

Enable or disable PWM on the servo port. This will not work if the servo was obtained using hardwareMap.

Parameters

enable

If set to true PWM will be enabled, and if set to false PWM will be disabled