code: func (d *DRV2605LDriver) SetSequence(waveforms []uint8) (err error) {
  	if len(waveforms) < 8 {
  		waveforms = append(waveforms, 0)
  	}
  	if len(waveforms) > 8 {
  		waveforms = waveforms[0:8]
  	}
  	for i, w := range waveforms {
  		if err = d.connection.WriteByteData(uint8(drv2605RegWaveSeq1+i), w); err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // SetSequence sets the sequence of waveforms to be played by the sequencer,
  // specified by waveform id as described in the datasheet.
  // The sequencer can play at most 8 waveforms in sequence, longer
  // sequences will be truncated.
  // A waveform id of zero marks the end of the sequence.
  // Pauses can be encoded using GetPauseWaveform().