@ginden/blinkstick-v2
Preparing search index...
Led
Class Led
Class to control a single LED on a Blinkstick device.
Index
Constructors
constructor
Properties
blinkstick
index
Methods
get
Color
set
Color
turn
Off
Constructors
constructor
new
Led
(
blinkstick
:
BlinkstickAny
,
index
:
number
)
:
Led
Parameters
blinkstick
:
BlinkstickAny
index
:
number
Returns
Led
Properties
Readonly
blinkstick
blinkstick
:
BlinkstickAny
Readonly
index
index
:
number
Methods
get
Color
getColor
()
:
Promise
<
RgbTuple
>
Returns
Promise
<
RgbTuple
>
set
Color
setColor
(
red
:
number
,
green
:
number
,
blue
:
number
)
:
Promise
<
void
>
Parameters
red
:
number
green
:
number
blue
:
number
Returns
Promise
<
void
>
turn
Off
turnOff
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
blinkstick
index
Methods
get
Color
set
Color
turn
Off
@ginden/blinkstick-v2
Loading...
Class to control a single LED on a Blinkstick device.