public function addPin(Pin $pin) { SysFS::exportPin($pin); SysFS::setEdge($pin, self::EDGE_BOTH); $this->pins[$pin->getPinNumber()] = $pin; }