Update main.cpp
This commit is contained in:
parent
c11e5b00b0
commit
9e133918cf
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ void setup(){
|
||||||
chain->begin();
|
chain->begin();
|
||||||
chain->setBrightness8(255);
|
chain->setBrightness8(255);
|
||||||
// create VirtualDisplay object based on our newly created dma_display object
|
// 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
|
#endif
|
||||||
|
|
||||||
ledbuff = (CRGB *)malloc(NUM_LEDS * sizeof(CRGB)); // allocate buffer for some tests
|
ledbuff = (CRGB *)malloc(NUM_LEDS * sizeof(CRGB)); // allocate buffer for some tests
|
||||||
|
|
Loading…
Reference in a new issue