pwmControl

abstract val pwmControl: (T, Double) -> Unit?

Lambda function for controlling the motor using PWM (Pulse Width Modulation).

This function takes two parameters:

  • An instance of type T representing the motor or device.

  • A Double value representing the PWM signal.

If null, PWM control is not supported.