[][src]Function wpilib_sys::bindings::HAL_SetPWMSpeed

pub unsafe extern "C" fn HAL_SetPWMSpeed(
    pwmPortHandle: HAL_DigitalHandle,
    speed: f64,
    status: *mut i32
)

Sets a PWM channel to the desired scaled value.

The values range from -1 to 1 and the period is controlled by the PWM Period and MinHigh registers.

@param pwmPortHandle the PWM handle @param value the scaled PWM value to set