code: func (f *Adaptor) DigitalWrite(pin string, level byte) (err error) {
  	p, err := strconv.Atoi(pin)
  	if err != nil {
  		return
  	}
  
  	if f.Board.Pins()[p].Mode != client.Output {
  		err = f.Board.SetPinMode(p, client.Output)
  		if err != nil {
  			return
  		}
  	}
  
  	err = f.Board.DigitalWrite(p, int(level))
  	return
  }
docs: // DigitalWrite writes a value to the pin. Acceptable values are 1 or 0.