Versions in this module Expand all Collapse all v0 v0.1.1 Apr 13, 2017 Changes in this version + const CANDLE + const FADE + const FLASH + const PULSE + const RAINBOW + const SOLID + func NewCandle(id string) *candle + type Candle interface + Connect func() error + Disconnect func() + IsConnected func() bool + Off func() error + SetColour func(*Colour) error + SetEffect func(*Effect) error + type CandleGroup struct + func NewCandleGroup(cs []Candle) *CandleGroup + func (cg *CandleGroup) Connect() error + func (cg *CandleGroup) Disconnect() + func (cg *CandleGroup) IsConnected() bool + func (cg *CandleGroup) Off() error + func (cg *CandleGroup) SetColour(cl *Colour) error + func (cg *CandleGroup) SetEffect(e *Effect) error + type Colour struct + func ColourFromHexString(s string) (*Colour, error) + func NewColour(brightness byte, r byte, g byte, b byte) *Colour + func (c *Colour) B() byte + func (c *Colour) Brightness() byte + func (c *Colour) G() byte + func (c *Colour) R() byte + type Effect struct + func NewEffect(m byte, c *Colour, s byte) *Effect + func (e *Effect) Colour() *Colour + func (e *Effect) Mode() byte + func (e *Effect) Speed() byte