code: func (d *GrovePiDriver) AnalogRead(pin string) (value int, err error) {
  	pin = getPin(pin)
  
  	var pinNum int
  	pinNum, err = strconv.Atoi(pin)
  	if err != nil {
  		return
  	}
  
  	value, err = d.readAnalog(byte(pinNum))
  
  	return
  }
docs: // AnalogRead returns value from analog pin implementing the AnalogReader interface.