Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HSV ¶
type HSV struct {
// contains filtered or unexported fields
}
func NewHSVTransition ¶
func (*HSV) AsYeelightParams ¶
func (*HSV) ChangeColor ¶
func (*HSV) ChangeDuration ¶
type RGB ¶
type RGB struct {
// contains filtered or unexported fields
}
func (*RGB) AsYeelightParams ¶
func (*RGB) ChangeColor ¶
func (*RGB) ChangeDuration ¶
type Sleep ¶
type Sleep struct {
// contains filtered or unexported fields
}
func NewSleepTransition ¶
func (*Sleep) AsYeelightParams ¶
func (*Sleep) ChangeDuration ¶
type Temperature ¶
type Temperature struct {
// contains filtered or unexported fields
}
func NewTemperatureTransition ¶
func NewTemperatureTransition(degrees int, duration int, brightness int) *Temperature
func (*Temperature) AsYeelightParams ¶
func (t *Temperature) AsYeelightParams() string
func (*Temperature) ChangeDuration ¶
func (t *Temperature) ChangeDuration(duration int)
type Transition ¶
func Alarm ¶
func Alarm() []Transition
func Police ¶
func Police() []Transition
func Police2 ¶
func Police2() []Transition
func StrobeColor ¶
func StrobeColor() []Transition
Click to show internal directories.
Click to hide internal directories.