// newLed return new led object.
newLed return new led object.
// newLed return new led object .
func newLed(c mqtt.Client, topic string, debug bool) *led {
	return &led{
		client: c,
		debug:  debug,
		topic:  topic,
		status: "0",
		ledID:  topic[len(topic)-1:],
	}
}
func newLed ( c mqtt . Client , topic string , debug bool ) * led { return & led { client : c , debug : debug , topic : topic , status : " " , ledID : topic [ len ( topic ) - 1 : ] , } }
newLed return new led object.
newLed return new led object .