• Открыт набор модераторов на нашем форуме. Заявку можно подать в разделе "Вопросы и предложения" > "Набор модераторов".

M7219: MAX7219 Control

  • Просмотры Просмотры: 19
  • Последнее обновление Последнее обновление:
  • Описание
    Set the state of one or more Max7219 matrix displays or 7-segment digital displays.
    Примечание
    Requires MAX7219_DEBUG.
    Использование
    M7219 [C<column>] [D<row>] [F] [P] [R<row>] [U<index>] [V<bits>] [X<index>] [Y<index>]
    Параметры
    [C<column>]
    Set the column specified by C to bit pattern V.
    [D<row>]
    Directly set a Max7219 native row (on the unit specified by U) to the 8-bit pattern V.
    [F]
    Fill the matrix by turning on all LEDs.


    Initialize (clear) all matrixes.
    [P]
    Print the LED array state for debugging.
    [R<row>]
    Set the row specified by R to bit pattern V.
    [U<index>]
    Used with D to specify which matrix unit to set.
    [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.
    Gallery
    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.
    proxy.php?image=https%3A%2F%2Fmarlinfw.org%2Fassets%2Fimages%2Fgcode%2Fmax7219-board.png&hash=632fed7bbd10762db1731dbf22562373
    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.
    proxy.php?image=https%3A%2F%2Fmarlinfw.org%2Fassets%2Fimages%2Fgcode%2Fmax7219-rotation.svg&hash=92b2a694ebede019b75f83902a3f738b

    Related Media
  • Загрузка…