aboutsummaryrefslogtreecommitdiff
path: root/examples/PIO_TestPatterns/src/main.cpp
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-03-12 10:24:06 +0000
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-03-12 10:24:06 +0000
commit2b76af4a5a99bf9f877a686120768af78d670dde (patch)
tree3e68fab85c2f6f1c4f3036d9ea17bf9be2207c9a /examples/PIO_TestPatterns/src/main.cpp
parent2852ce0e12c8ab1b5f932af814449e0984da4e4e (diff)
parent9e133918cfd7c364b2e2db9433d8c981ac44e7a2 (diff)
Merge branch 'master' of https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA
Diffstat (limited to 'examples/PIO_TestPatterns/src/main.cpp')
-rw-r--r--examples/PIO_TestPatterns/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/PIO_TestPatterns/src/main.cpp b/examples/PIO_TestPatterns/src/main.cpp
index 40d077e..4e0edb1 100644
--- a/examples/PIO_TestPatterns/src/main.cpp
+++ b/examples/PIO_TestPatterns/src/main.cpp
@@ -116,7 +116,7 @@ void setup(){
chain->begin();
chain->setBrightness8(255);
// create VirtualDisplay object based on our newly created dma_display object
- matrix = new VirtualMatrixPanel((*chain), NUM_ROWS, NUM_COLS, PANEL_WIDTH, PANEL_HEIGHT, SERPENT, TOPDOWN);
+ matrix = new VirtualMatrixPanel((*chain), NUM_ROWS, NUM_COLS, PANEL_WIDTH, PANEL_HEIGHT, CHAIN_TOP_LEFT_DOWN);
#endif
ledbuff = (CRGB *)malloc(NUM_LEDS * sizeof(CRGB)); // allocate buffer for some tests