 
 
 //Module definitions
-#define NUM_SERVOS 5      //number of servos
+#define NUM_SERVOS 8      //number of servos
 //first 2 are to indicate which servo is on. 2 bytes to indicate to togle. 2 for start and end angle
 #define VAR_PER_SERVO 6  //variables per servo
 #define SPEED 50        //servo speed

//pins where the servos are attached
//pins 9,10 and 15 don't work for many servos. servo library limitation
//byte servopins[]={2,3,4,5,6,7,8,11,12,13,14,16,17,18,19,20};//,19,20,21,22,23,24,25,26,27,28,29,30};
byte servopins[]={2,3,4,5,6};//,19,20,21,22,23,24,25,26,27,28,29,30};
byte active_servo[2];
byte togle_servo[2];


  //debug memory
  if (digitalRead(PUSH_BUTTON)==LOW){
    cbus.dumpMemory();
    //Serial.println("alive");
  }
}

