 
 void loop() {
     unsigned char character = 0;
-    unsigned char pin;
-    unsigned char repeat;
-    unsigned int intraDelay;
 
     while (Serial.available()) {
         if (gCounter >= MAX_MESSAGE_LENGTH) gCounter = 0;

}

// Create the callback function
void processMessage(char pin, unsigned char message[], unsigned char repeat, unsigned int intraDelay) {
    unsigned int out = 0;
    unsigned char i;



        switch (gMessage[0]) {
            case 1:
                cmdSend(gMessage[1], &gMessage[4], gMessage[2], gMessage[3] * DELAY_MULTIPLIER);
                break;
        }

