[][src]Function mraa_sys::mraa_pwm_pulsewidth

pub unsafe extern "C" fn mraa_pwm_pulsewidth(
    dev: mraa_pwm_context,
    seconds: f32
) -> mraa_result_t

Set pulsewidth, As represnted by seconds in a (float)

@param dev The Pwm context to use @param seconds The duration of a pulse @return Result of operation