code: func (b *Adaptor) AnalogRead(pin string) (val int, err error) {
  	analogPin, err := b.translateAnalogPin(pin)
  	if err != nil {
  		return
  	}
  	fi, err := sysfs.OpenFile(fmt.Sprintf("%v/%v", b.analogPath, analogPin), os.O_RDONLY, 0644)
  	defer fi.Close()
  
  	if err != nil {
  		return
  	}
  
  	var buf = make([]byte, 1024)
  	_, err = fi.Read(buf)
  	if err != nil {
  		return
  	}
  
  	val, _ = strconv.Atoi(strings.Split(string(buf), "\n")[0])
  	return
  }
docs: // AnalogRead returns an analog value from specified pin