         checkrows();
         checkend();
         show();
-        delay(100);
-    }
-}
+        delay(1);
+    }
+}

#include "application.h"
#include "neopixel/neopixel.h"
#include "MQTT/MQTT.h"

#include "application.h"

#define PIXEL_PIN      D0
#define PIXEL_TYPE     WS2811

#define matrixx        10
#define matrixy         5
#define fallspeedorg  800

int pos[2]                   = { 5, 1};
int bricks[7][4][2]          = { {{0, 1}, {-1, 0}, {0, 0}, {1, 0}}, {{-1, 1}, {-1, 0}, {0, 0}, {1, 0}}, {{1, 1}, {-1, 0}, {0, 0}, {1, 0}}, {{-1, 0}, {0, 0}, {0, 1}, {1, 1}}, {{-1, 1}, {0, 1}, {0, 0}, {1, 0}}, {{1, 0}, {1, 1}, {0, 1}, {0, 0}}, {{-1, 0}, {0, 0}, {1, 0}, {2, 0}}};
int colors[7][3]             = { {255, 0, 0}, {100, 255, 0}, {0, 0, 255}, {255, 255, 0}, {0, 255, 255}, {255, 100, 0}, {255, 255, 255}};
int matrix[matrixx][matrixy] = { 0};

    }
    
  }
  */
  strip.show();
}

void loop() {
    
    if(mode == 0){
      for(int x = 0; x < matrixx; x++){
        for(int y = 0; y < matrixy; y ++){
            matrix[x][y] = 0;
        }
      }
      matrix[1][1] = 1;
      show();
    }
    
    
    
    if(mode == 1){
        if(fallcount == fallspeed){
