Color
Color RGB
Syntax:
led.colourRGBCmd(red:0-100, green:0-100, blue:0-100)
// Optional specifiers
.pixel(pixel#)
.pixelRange(1-16)
.ring('LHS'|'RHS'|'LHS & RHS')
.brightness(0-100)
Example:
Color Word
Syntax:
led.colourWordCmd('color')
//where color: black|white|red|green|blue|yellow|cyan|magenta|silver|grey|maroon|olive|purple|teal|navy|slateblue
// Optional specifiers
.pixel(pixel#)
.pixelRange(1-16)
.ring('LHS'|'RHS'|'LHS & RHS')
.brightness(0-100)
Example:
Color HEX
Use an online hex colour picker to generate your hex string for the color you want. https://htmlcolorcodes.com/color-picker/
Syntax:
led.colourHexCmd('#HexCode')
// Optional specifiers
.pixel(pixel#)
.pixelRange(1-16)
.ring('LHS'|'RHS'|'LHS & RHS')
.brightness(0-100)
Example:
Shift
Syntax:
led.shiftCmd('up'|'down',num)
Example:
Flash
Syntax:
led.flashCmd()
Example:
Off
Syntax:
led.offCmd
// Optional specifiers
.pixel(pixel range|pixel#)
.ring('LHS'|'RHS'|'LHS & RHS')
Example:
Percent
Syntax:
led.percentCmd(0-100)
// Optional specifiers
.ring('LHS'|'RHS'|'LHS & RHS')
Example: