func NewBlinkt(brightness ...float64) Blinkt {
	//brightness is optional so set the default
	brightnessInt := defaultBrightnessInt
	//override the default if the user has supplied a brightness value
	if len(brightness) > 0 {
		brightnessInt = convertBrightnessToInt(brightness[0])
	}
	bl := Blinkt{
		pixels:          initPixels(brightnessInt),
		ShowAnimOnStart: true,
		ShowAnimOnExit:  true,
		ClearOnExit:     true,
	}
	return bl
}
// NewBlinkt creates a Blinkt to interact with. You must call "Setup()" after initial config.
NewBlinkt creates a Blinkt to interact with. You must call "Setup()" after initial config.
// NewBlinkt creates a Blinkt to interact with . You must call " Setup () " after initial config .
func NewBlinkt(brightness ...float64) Blinkt {
	brightnessInt := defaultBrightnessInt
	if len(brightness) > 0 {
		brightnessInt = convertBrightnessToInt(brightness[0])
	}
	bl := Blinkt{
		pixels:          initPixels(brightnessInt),
		ShowAnimOnStart: true,
		ShowAnimOnExit:  true,
		ClearOnExit:     true,
	}
	return bl
}
func NewBlinkt ( brightness ... float64 ) Blinkt { brightnessInt := defaultBrightnessInt if len ( brightness ) > 0 { brightnessInt = convertBrightnessToInt ( brightness [ 0 ] ) } bl := Blinkt { pixels : initPixels ( brightnessInt ) , ShowAnimOnStart : true , ShowAnimOnExit : true , ClearOnExit : true , } return bl }
NewBlinkt creates a Blinkt to interact with.
NewBlinkt creates a Blinkt to interact with .
//brightness is optional so set the default //override the default if the user has supplied a brightness value