code: func NewGroveMagneticSwitchDriver(a DigitalReader, pin string, v ...time.Duration) *GroveMagneticSwitchDriver {
  	return &GroveMagneticSwitchDriver{
  		ButtonDriver: NewButtonDriver(a, pin, v...),
  	}
  }
docs: // NewGroveMagneticSwitchDriver returns a new GroveMagneticSwitchDriver with a polling interval of
  // 10 Milliseconds given a DigitalReader, name and pin.
  //
  // Optionally accepts:
  //  time.Duration: Interval at which the ButtonDriver is polled for new information