LED MATRIX
PATTERN GENERATOR
Matrix pattern generator intended for shift registers
Design grid
Click and drag to draw your pattern.
0
8
16
24
32
40
0
1
2
3
4
5
6
7
8
9
10
PRESETS
No saved presets yet.
ANIMATION
SCRIPT
BIT ORDER
/* LED Matrix — 42×11 px — Arduino PROGMEM */
#include <avr/pgmspace.h>
#define MATRIX_ROWS 11
#define MATRIX_COLS 42
#define MATRIX_BPR 6
const uint8_t pattern[11][6] PROGMEM = {
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 0 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 1 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 2 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 3 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 4 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 5 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 6 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 7 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 8 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /* row 9 */
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } /* row 10 */
};
/* Read helper: pgm_read_byte(&pattern[row][byteIdx]) */