fn check(&mut self) {
        if self.input.is_interrupt_status() {
            self.input.clear_interrupt_status();
            self.output.toggle();
        }
    }
/// Check the GPIO connection.
///
/// If the input interrupt has triggered, toggle the connected
/// output pin.
Check the GPIO connection.
If the input interrupt has triggered, toggle the connected
output pin.
Check the GPIO connection . If the input interrupt has triggered toggle the connected output pin .
fn check(&mut self) {
        if self.input.is_interrupt_status() {
            self.input.clear_interrupt_status();
            self.output.toggle();
        }
    }
fn check ( & mut self ) { if self . input . is_interrupt_status ( ) { self . input . clear_interrupt_status ( ) ; self . output . toggle ( ) ; } }
Check the GPIO connection.
Check the GPIO connection .
&mut self
&mut self