apply

ConstantPWM.apply() None | float | int

It checks if timer is active and, if so, it returns the pwm to apply to the powertrain motor, equal to target_pwm_value.

Returns

float or int or None

PWM value to apply to the motor, equal to target_pwm_value.