Module led_matrix::color

source ·
Expand description

Contains a number of predefined color values.

You can set an LED to one of these colors like this:

*matrix.get_mut(2, 6) = color::PURPLE;

Constants§