[][src]Function mraa_sys::mraa_pwm_read

pub unsafe extern "C" fn mraa_pwm_read(dev: mraa_pwm_context) -> f32

Read the output duty-cycle percentage, as a float

@param dev The Pwm context to use @return percentage A floating-point value representing percentage of output. The value should lie between 0.0f (representing on 0%) and 1.0f Values above or below this range will be set at either 0.0f or 1.0f