Methods
queryState
- queryState(callback: Function): void
setColor
- setColor(red: number, green: number, blue: number, callback: Function): void
-
Parameters
-
red: number
-
green: number
-
blue: number
-
callback: Function
Returns void
setColorWithBrightness
- setColorWithBrightness(red: number, green: number, blue: number, brightness: number, callback: Function): void
-
Parameters
-
red: number
-
green: number
-
blue: number
-
brightness: number
-
callback: Function
Returns void
setPattern
- setPattern(pattern: PatternList, speed: number, callback: Function): void
-
Parameters
-
-
speed: number
-
callback: Function
Returns void
startEffectMode
- startEffectMode(callback: Function): void
turnOff
- turnOff(callback: Function): void
turnOn
- turnOn(callback: Function): void