   if (brightness < 1 || brightness > MAX_BRIGHTNESS)
   {
     // The command was too long or too short
-    Serial.println("ERROR: updateBrightness too big value");
+    Serial.println("ERROR: Command \"setBrightness\" had the wrong length!");
     return;
   }
 
   // The command was correct so set the brightness of the strip
   strip.setBrightness(brightness);
-  strip.show();
-}
-
-
-void drawFrame()
-{
-  // Checking if the command has the right length
-  if (bufferLength != cmdFrameLength)
-  {
-    // The command was too long or too short
-    Serial.println("ERROR: drawFrame wrong length.");
-    return;
-  }
-
-  uint8_t curPixel = 0;
-  uint8_t curColum = 0;
-  uint8_t curRow = 0;
-  uint8_t red = 0;
-  uint8_t green = 0;
-  uint8_t blue = 0;
-  uint16_t offset = 1;
-  char strRed[3] = "";
-  char strGreen[3] = "";
-  char strBlue[3] = "";
-
-  for (uint8_t r = 0; r < 16; r++)
-  {
-    for (uint8_t c = 0; c < 16; c++)
-    {
-      //#if MATRIX_SNAKE_PATTERN == 1
-      curColum = c;
-      if (r % 2 == 1) curColum = 15 - curColum;
-      //#endif
-
-      curPixel = (r << 4) + curColum; // shift by 4 is like multiply by 16 but faster
-
-      strRed[0] = buffer[offset + 0];
-      strRed[1] = buffer[offset + 1];
-      strGreen[0] = buffer[offset + 2];
-      strGreen[1] = buffer[offset + 3];
-      strBlue[0] = buffer[offset + 4];
-      strBlue[1] = buffer[offset + 5];
-      offset += 6;
-
-      red = (int)strtol(strRed, NULL, 16);
-      green = (int)strtol(strGreen, NULL, 16);
-      blue = (int)strtol(strBlue, NULL, 16);
-
-      strip.setPixelColor(curPixel, red, green, blue);
-    }
-  }
-
   strip.show();
 }
 

  char strRow[2] = "";
  char strColum[2] = "";

  strRow[0] =  buffer[1];
  strColum[0] =  buffer[2];

  row = (uint8_t)strtol(strRow, NULL, 16);
  colum = (uint8_t)strtol(strColum, NULL, 16);

  #if MATRIX_SNAKE_PATTERN == 1
  // fix the snake pattern of the leds on the matrix
  if (row % 2 == 1)
  {
    colum = 15 - colum;
  }
  #endif

  stripPixel = (row << 4) + colum;  // shift by 4 is like multiply by 16 but faster

  strRed[0] = buffer[3];
  strRed[1] = buffer[4];
  strGreen[0] = buffer[5];

/*
* Author: flofriday
* Date: 28.07.2017
* License: MIT
*
* This file is the code for the Arduino.
* Supported are Arduino Uno and Arduino Mega however, alomost every Arduino
* should work.
*/


/*
* Configure the Prameters below to fit your application.
