diff --git a/nametag/src/congress.cpp b/nametag/src/congress.cpp index f0ac71d..bf5b733 100644 --- a/nametag/src/congress.cpp +++ b/nametag/src/congress.cpp @@ -44,4 +44,5 @@ void draw_congress(MatrixPanel_I2S_DMA *matrix, enum Mode mode) { matrix->drawFastVLine(63, 0, PANEL_HEIGHT, grid_color); delay(10); } + delay(10); } diff --git a/nametag/src/cyber.cpp b/nametag/src/cyber.cpp index 808a8b9..cf245b5 100644 --- a/nametag/src/cyber.cpp +++ b/nametag/src/cyber.cpp @@ -23,4 +23,5 @@ void draw_cyber(MatrixPanel_I2S_DMA *matrix, Mode mode) { if (offset == 59) { offset = 0; } + delay(25); } diff --git a/nametag/src/flame.cpp b/nametag/src/flame.cpp index e91d519..8bf2ad6 100644 --- a/nametag/src/flame.cpp +++ b/nametag/src/flame.cpp @@ -88,5 +88,5 @@ void draw_flame(MatrixPanel_I2S_DMA *matrix, enum Mode mode) { matrix->drawPixel(p % PANEL_WIDTH, p / PANEL_WIDTH, flame_palette[framebuffer[p]]); } do_fire(); - + delay(10); } diff --git a/nametag/src/main.cpp b/nametag/src/main.cpp index ff458a9..bd90ca5 100644 --- a/nametag/src/main.cpp +++ b/nametag/src/main.cpp @@ -43,7 +43,7 @@ void setup(){ matrix = new MatrixPanel_I2S_DMA(mxconfig); matrix->begin(); - matrix->setBrightness8(255); + matrix->setBrightness8(128); matrix->fillScreenRGB888(0, 0, 0); matrix->setTextWrap(false); matrix->setFont(&Pilowlava_Regular8pt7b); @@ -52,7 +52,7 @@ void setup(){ void loop() { matrix ->flipDMABuffer(); matrix->clearScreen(); - delay(25); + //delay(25); if (millis() - last_switch > CYCLE_TIME_MS) { // next style diff --git a/nametag/src/rain.cpp b/nametag/src/rain.cpp index d10b56a..bc7e3c1 100644 --- a/nametag/src/rain.cpp +++ b/nametag/src/rain.cpp @@ -70,7 +70,7 @@ void draw_rain(MatrixPanel_I2S_DMA *matrix, Mode mode) { raindrops[r].x, 0 - random(4), random(20, 28), - random(0, 55), + random(10, 55), millis() }); raindrops.erase(raindrops.begin() + r); @@ -111,4 +111,5 @@ void draw_rain(MatrixPanel_I2S_DMA *matrix, Mode mode) { } r++; } + //delay(25); } diff --git a/nametag/src/supercomputer.cpp b/nametag/src/supercomputer.cpp index f474b8a..84a4060 100644 --- a/nametag/src/supercomputer.cpp +++ b/nametag/src/supercomputer.cpp @@ -53,4 +53,5 @@ void draw_supercomputer(MatrixPanel_I2S_DMA *matrix, Mode mode) { } } rainbow_offset++; + delay(25); }