Function rust_pigpio::write
[−]
[src]
pub fn write(gpio: u32, level: Level) -> GpioResult
Sets the GPIO level, on or off. If PWM or servo pulses are active on the GPIO they are switched off.