   flashThread.disable();
   gradientLoop = false;
   char colorInput[8];
-  arrayCopy(colorInput,&inputBuffer[1],7);
+  memcpy(colorInput,&inputBuffer[1],7);
+//  arrayCopy(colorInput,&inputBuffer[1],7);
   if (debugMode) {
     Serial.print("Serial input:"); 
     Serial.println(colorInput);  }

// TO DO: cut off timeout gradient when activity resumes
//        implement verbosity levels
//        evaluate memory gain from using #define for some constants

#include <stdarg.h>
#include <Wire.h>

      gradPerc = 0;
      if (gradientReversingMode) {
        int temp[3]; //swap 1 and 2
        memcpy(temp,gradcol1,3);
        memcpy(gradcol1,gradcol2,3);
        memcpy(gradcol2,temp,3);
      }
      if (debugMode) { Serial.println("Looping gradient."); }
    } else {
