[][src]Function wpilib_sys::bindings::HAL_SetDigitalPWMDutyCycle

pub unsafe extern "C" fn HAL_SetDigitalPWMDutyCycle(
    pwmGenerator: HAL_DigitalPWMHandle,
    dutyCycle: f64,
    status: *mut i32
)

Configures the duty-cycle of the PWM generator.

@param pwmGenerator the digital PWM handle @param dutyCycle the percent duty cycle to output [0..1]