redpitaya::generator
pub fn set_duty_cycle(channel: Channel, ratio: f32) -> Result<()>
Sets duty cycle of PWM signal.