public function pin(int $pin, string $type, bool $invert = false): Pin
    {
        return new Pin($pin, $type, $this->ioAdapter, $invert);
    }
public function pin(int $pin, string $type, bool $invert = false): Pin
    {
        return new Pin($pin, $type, $this->ioAdapter, $invert);
    }
public function pin ( int $ pin , string $ type , bool $ invert = false ) : Pin { return new Pin ( $ pin , $ type , $ this -> ioAdapter , $ invert ) ; }
Configure a pin

@param int $pin The GPIO pin number
@param string $type The pin type (input or output) - Use GPIO::IN and GPIO::OUT
@param bool $invert Invert the logic so that high->low and low->high
@return Pin
Configure a pin