func (s *ServoDriver) Min() (err error) {
	return s.Move(0)
}
Min sets the servo to it's minimum position
package gpio
import "github.com/hybridgroup/gobot"
type ServoDriver struct {
	name       string
	pin        string
	connection ServoWriter
	gobot.Commander
	CurrentAngle byte
}
func NewServoDriver(a ServoWriter, name string, pin string) *ServoDriver {
	s := &ServoDriver{
		name:         name,
		connection:   a,
		pin:          pin,
		Commander:    gobot.NewCommander(),
		CurrentAngle: 0,
	}
	s.AddCommand("Move", func(params map[string]interface{}) interface{} {
		angle := byte(params["angle"].(float64))
		return s.Move(angle)
	})
	s.AddCommand("Min", func(params map[string]interface{}) interface{} {
		return s.Min()
	})
	s.AddCommand("Center", func(params map[string]interface{}) interface{} {
		return s.Center()
	})
	s.AddCommand("Max", func(params map[string]interface{}) interface{} {
		return s.Max()
	})
	return s
}
func (s *ServoDriver) Name() string { return s.name }
func (s *ServoDriver) Pin() string { return s.pin }
func (s *ServoDriver) Connection() gobot.Connection { return s.connection.(gobot.Connection) }
func (s *ServoDriver) Start() (errs []error) { return }
func (s *ServoDriver) Halt() (errs []error) { return }
func (s *ServoDriver) Move(angle uint8) (err error) {
	if !(angle >= 0 && angle <= 180) {
		return ErrServoOutOfRange
	}
	s.CurrentAngle = angle
	return s.connection.ServoWrite(s.Pin(), s.angleToSpan(angle))
}