thinkyhead

M7219 - MAX7219 Control

debug Control Max7219 Segmented LEDs MAX7219_DEBUG

Description

Set the state of one or more Max7219 matrix displays or 7-segment digital displays.

Notes

Requires MAX7219_DEBUG.

Usage

M7219 [C<column>] [F] [I] [P] [R<row>] [V<bits>] [X<index>] [Y<index>]

Parameters

[C<column>]

Set the column specified by C to bit pattern V.

[F]

Fill the matrix by turning on all LEDs.

[I]

Initialize (clear) all matrixes.

[P]

Print the LED array state for debugging.

[R<row>]

Set the row specified by R to bit pattern V.

[V<bits>]

Value to apply when using the C, R, or X/Y parameters.

[X<index>]

Set a matrix LED at the given X position to the V value. If no V is given, toggle the LED state.

[Y<index>]

Set a matrix LED at the given Y position to the V value. If no V is given, toggle the LED state.

Related Media