machines/systems/flexibot/docs/marlin/_gcode/M7219.md
2025-03-11 23:32:39 +01:00

2.2 KiB

tag title brief author requires group codes images notes parameters videos examples
m7219 MAX7219 Control Control Max7219 Segmented LEDs thinkyhead MAX7219_DEBUG debug
M7219
title caption path
Max7219 with 8x8 Matrix This single-unit Max7219 with 8x8 Matrix is commonly found online in both assembled and kit form for only a few dollars. max7219-board.png
title caption path
Settings for Max7219 Orientation Use the `MAX7219_ROTATE` and `MAX7219_SIDE_BY_SIDE` settings that best suit the orientation of your matrix according to this chart. max7219-rotation.svg
Requires `MAX7219_DEBUG`.
tag optional description values
C true Set the column specified by `C` to bit pattern `V`.
tag type
column int
tag optional description values
D true Directly set a Max7219 native row (on the unit specified by `U`) to the 8-bit pattern `V`.
tag type
row int
tag optional description values
R true Set the row specified by `R` to bit pattern `V`.
tag type
row int
tag optional description
I true Initialize (clear) all matrixes.
tag optional description
F true Fill the matrix by turning on all LEDs.
tag optional description
P true Print the LED array state for debugging.
tag optional description values
U true Used with `D` to specify which matrix unit to set.
tag type
index int
tag optional description values
V true Value to apply when using the `C`, `R`, or `X`/`Y` parameters.
tag type
bits long
tag optional description values
X true Set a matrix LED at the given `X` position to the `V` value. If no `V` is given, toggle the LED state.
tag type
index int
tag optional description values
Y true Set a matrix LED at the given `Y` position to the `V` value. If no `V` is given, toggle the LED state.
tag type
index int
JXMEKXsmTpA

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