Search
Preparing search index...
The search index is not available
obniz
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Parts
FullColorLED
FullColorLED
Class FullColorLED
Hierarchy
FullColorLED
Implements
ObnizPartsInterface
Index
Constructors
constructor
Properties
COMMON_
TYPE_
ANODE
COMMON_
TYPE_
CATHODE
animation
Name
anode_
keys
cathode_
keys
common
commontype
keys
params
pwmB
pwmG
pwmR
required
Keys
Methods
gradation
hsv
rgb
stopgradation
wired
info
Constructors
constructor
new
Full
ColorLED
(
)
:
FullColorLED
Returns
FullColorLED
Properties
COMMON_
TYPE_
ANODE
COMMON_
TYPE_
ANODE
:
number
= 1
COMMON_
TYPE_
CATHODE
COMMON_
TYPE_
CATHODE
:
number
= 0
animation
Name
animation
Name
:
any
anode_
keys
anode_
keys
:
any
cathode_
keys
cathode_
keys
:
any
common
common
:
any
commontype
commontype
:
any
keys
keys
:
string
[]
params
params
:
any
pwmB
pwmB
:
PeripheralPWM
pwmG
pwmG
:
PeripheralPWM
pwmR
pwmR
:
PeripheralPWM
required
Keys
required
Keys
:
string
[]
Methods
gradation
gradation
(
cycletime_ms
:
number
)
:
void
Parameters
cycletime_ms:
number
Returns
void
hsv
hsv
(
hue
:
number
, saturation
:
number
, value
:
number
)
:
void
Parameters
hue:
number
saturation:
number
value:
number
Returns
void
rgb
rgb
(
red
:
any
, green
:
any
, blue
:
any
)
:
void
Parameters
red:
any
green:
any
blue:
any
Returns
void
stopgradation
stopgradation
(
)
:
void
Returns
void
wired
wired
(
obniz
:
Obniz
)
:
void
Parameters
obniz:
Obniz
Returns
void
Static
info
info
(
)
:
ObnizPartsInfo
Returns
ObnizPartsInfo
Globals
Full
ColorLED
constructor
COMMON_
TYPE_
ANODE
COMMON_
TYPE_
CATHODE
animation
Name
anode_
keys
cathode_
keys
common
commontype
keys
params
pwmB
pwmG
pwmR
required
Keys
gradation
hsv
rgb
stopgradation
wired
info
Full
ColorLEDOptions
Generated using
TypeDoc