LedMatrix

LedMatrix

A two-dimensional cluster of LEDs that can be addressed individually.

Properties

A LedMatrix works similarly to a grid of LEDs, its properties are all multi-dimensional tables that correspond to each LED in the LedMatrix. The tables should be addressed with [column][row].

States {{boolean}}

A multi-dimensional table that maps each of the LED's lit/unlit status.

Colors {{color}}

A multi-dimensional table that maps each of the LED's colors.

Examples

See the Collect the Dot cookbook example for an example on how to address individual LEDs in the matrix with D-Pad input.