 
 // ================= ROTATE FUNCTIONS ================== //
 
-void attachServos() {
-    //this function attaches all servos
-    //it's called at the beginning
-  
-  const int DELAY_BTWN_ATTACH = 250;
-  
-  for (int i = 0; i < SERVO_NUMBER; i++) {
-    servoarray[i].attach(servoPINS[i]);
-    delay(DELAY_BTWN_ATTACH);
-  }
-}
-
 void moveChannel() {
   //Move only the specified channel (1-SERVO_NUMBER)
   int channel;


void moveServoGroup(int bat[]) {
    //move a group of servo
    //bat is an array containing the channels to be moved
  
  if ( DEBUG_MODE ) { 
    
    Serial.print("Moving: ");
    for (int i = 0; i<GROUP_SIZE; i++) {
      Serial.print(String(bat[i]) + " ");
    }
    Serial.println("");
  }
  
  for( int s = 0; s < SHAKE; s++)

 * Row 1: (16-01) 22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37
 * Row 2: (17-32) 38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53
 * 
 * In windows, an easy way to make an upgrade without using the Arduino IDE is
 * to adopt XLoader http://xloader.russemotto.com/
 * 
 */

#include <Servo.h> 
#include <SerialCommand.h>

const String VERSION = "0.9";
const int SERVO_NUMBER = 32;

const int servoPINS[SERVO_NUMBER] = {37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,22,
