 * Define the LED Matrix.
 */
 Adafruit_NeoPixel strip = Adafruit_NeoPixel(256, MATRIX_DATA_PIN, NEO_GRB + NEO_KHZ800);
-
+uint8_t matrixBrightness = MAX_BRIGHTNESS;
+
+/*
+* Define the pixel list.
+* In this list the raw colors are saved without the brightness
+*/
+uint8_t pixelList[256][3];
 
 /*
 * Setup the Matrix and the serial communication.

      blue = (int)strtol(strBlue, NULL, 16);

      // Set the current pixel
      strip.setPixelColor(curPixel, red, green, blue);
    }
  }

  // Update the matrix
  strip.show();
}



*/
#define MATRIX_DATA_PIN 6       // The Pin where the matrix is connected to.
#define MATRIX_SNAKE_PATTERN 1  // Set 1 if the Matrix has a snake-pattern.
#define MAX_BRIGHTNESS 64       // The maximum brightness the firmware allow.
#define BAUDRATE 250000         // Set the Baudrate (higher is better)


