code: func (e *Adaptor) Connect() (err error) {
  	e.digitalPins = make(map[int]*sysfs.DigitalPin)
  	e.pwmPins = make(map[int]*sysfs.PWMPin)
  
  	if e.Board() == "arduino" || e.Board() == "" {
  		aerr := e.checkForArduino()
  		if aerr != nil {
  			return aerr
  		}
  		e.board = "arduino"
  	}
  
  	switch e.Board() {
  	case "sparkfun":
  		e.pinmap = sparkfunPinMap
  		e.sparkfunSetup()
  	case "arduino":
  		e.pinmap = arduinoPinMap
  		if errs := e.arduinoSetup(); errs != nil {
  			err = multierror.Append(err, errs)
  		}
  	case "miniboard":
  		e.pinmap = miniboardPinMap
  		e.miniboardSetup()
  	default:
  		errs := errors.New("Unknown board type: " + e.Board())
  		err = multierror.Append(err, errs)
  	}
  	return
  }
docs: // Connect initializes the Edison for use with the Arduino beakout board