code: func NewLedDriver(a DigitalWriter, pin string) *LedDriver {
  	l := &LedDriver{
  		name:       gobot.DefaultName("LED"),
  		pin:        pin,
  		connection: a,
  		high:       false,
  		Commander:  gobot.NewCommander(),
  	}
  
  	l.AddCommand("Brightness", func(params map[string]interface{}) interface{} {
  		level := byte(params["level"].(float64))
  		return l.Brightness(level)
  	})
  
  	l.AddCommand("Toggle", func(params map[string]interface{}) interface{} {
  		return l.Toggle()
  	})
  
  	l.AddCommand("On", func(params map[string]interface{}) interface{} {
  		return l.On()
  	})
  
  	l.AddCommand("Off", func(params map[string]interface{}) interface{} {
  		return l.Off()
  	})
  
  	return l
  }
docs: // NewLedDriver return a new LedDriver given a DigitalWriter and pin.
  //
  // Adds the following API Commands:
  //	"Brightness" - See LedDriver.Brightness
  //	"Toggle" - See LedDriver.Toggle
  //	"On" - See LedDriver.On
  //	"Off" - See LedDriver.Off