Versions in this module Expand all Collapse all v0 v0.1.0 Oct 23, 2023 Changes in this version + var GamutA = Gamut + var GamutB = Gamut + var GamutC = Gamut + type BluetoothControlled interface + Disconnect func() error + type CenturaColorSpot struct + func NewCenturaColorSpot(device *bluetooth.Device) (*CenturaColorSpot, error) + func (c *CenturaColorSpot) Brightness() float64 + func (c *CenturaColorSpot) Color() color.Color + func (c *CenturaColorSpot) Disconnect() error + func (c *CenturaColorSpot) Model() string + func (c *CenturaColorSpot) Name() string + func (c *CenturaColorSpot) Off() + func (c *CenturaColorSpot) On() + func (c *CenturaColorSpot) Powered() bool + func (c *CenturaColorSpot) SetBrightness(b float64) + func (c *CenturaColorSpot) SetColor(colour color.Color) + func (c *CenturaColorSpot) SetName(name string) + func (c *CenturaColorSpot) SetTemperature(temperature uint16) + func (c *CenturaColorSpot) Temperature() uint16 + type Gamut [3]XYPoint + func GetGamutForModel(model string) Gamut + func (ga Gamut) ColorToXY(c color.Color) XYPoint + func (ga Gamut) XYYToColor(xy XYPoint, brightness float64) color.Color + type XYPoint [2]float64