Documentation
¶
Index ¶
- Constants
- type LED
- type Luxafor
- func (lux Luxafor) Fade(led LED, r, g, b, speed uint8) (err error)
- func (lux Luxafor) Off() (err error)
- func (lux Luxafor) Police(loops int) (err error)
- func (lux Luxafor) Set(led LED, r, g, b uint8) (err error)
- func (lux Luxafor) Sets(leds []LED, r, g, b uint8) (err error)
- func (lux Luxafor) Solid(r, g, b uint8) (err error)
Constants ¶
View Source
const ( SingleSmall = 1 SingleLarge = 2 DoubleSmall = 3 DoubleLarge = 4 )
Wave types available
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LED ¶
type LED byte
LED represents the location of an individual LED to control on the Luxafor.
type Luxafor ¶
type Luxafor struct {
// contains filtered or unexported fields
}
Luxafor is used to access the devices.
Click to show internal directories.
Click to hide internal directories.