fn new(input_pin: I, output_pin: O) -> Self {
        let mut input = GPIO::new(input_pin);
        input.set_interrupt_configuration(INTERRUPT_CONFIGURATION);
        input.set_interrupt_enable(true);

        let output = GPIO::new(output_pin).output();
        Self { input, output }
    }
/// Allocate a new GPIO connection.
///
/// This prepares the input pin to respond to interrupts.
Allocate a new GPIO connection.
This prepares the input pin to respond to interrupts.
Allocate a new GPIO connection . This prepares the input pin to respond to interrupts .
fn new(input_pin: I, output_pin: O) -> Self {
        let mut input = GPIO::new(input_pin);
        input.set_interrupt_configuration(INTERRUPT_CONFIGURATION);
        input.set_interrupt_enable(true);
        let output = GPIO::new(output_pin).output();
        Self { input, output }
    }
fn new ( input_pin : I , output_pin : O ) -> Self { let mut input = GPIO :: new ( input_pin ) ; input . set_interrupt_configuration ( INTERRUPT_CONFIGURATION ) ; input . set_interrupt_enable ( true ) ; let output = GPIO :: new ( output_pin ) . output ( ) ; Self { input , output } }
Allocate a new GPIO connection.
Allocate a new GPIO connection .
input_pin
I
output_pin
O
input_pin
I
output_pin
O