.set(n,r,g,b)

Command:

.set(led_position, red, green, blue)

Command
Syntax:

var = rgb_array("lamp")

Python
Code
Sample:

.set(n, r, g, b)

.set( eval(n), r, g, b)

Range:

0-15 for 'n', 0-255 for r,g,b

Describe:

The .set() command controls the brightness and color of each RGB LED in the TI-RGB Array.

Result:

The specific LED lights up with the specified color.

Type or
Addressable
Component:

All components of the TI-RGB Array

See Also: set_all()