Description
This is the component provided by the Light board rack.
Component name: light_board
.
This is the component provided by the Light board rack.
Component name: light_board
.
isActive(index:number):boolean
Returns true if the light at the specified position is currently active
setColor(index:number, color:number):boolean
Sets the color of the specified light. Returns true on success, false and an error message otherwise
setActive(index:number, active:boolean):boolean
Turns the specified light on or off. Returns true on success, false and an error message otherwise
getColor(index:number):number
Returns the color of the specified light on success, false and an error message otherwise
light_count:table