     Serial.print(" Z = ") && Serial.print(z);
     Serial.print(" EMG Ch.1 = ") && Serial.print(emg1);
     Serial.print(" EMG Ch.2 = ") && Serial.print(emg2);
+    Serial.print(" green = ") && Serial.print(green);
     Serial.println();
  }
   }

    //delay(1000);
    Dynamixel.performMovement(1142, 3250, 775, OPEN);     //Ready position
    //delay(1000);
    Dynamixel.performMovement(2148, 2048, 2048, OPEN);   //"Initial" position
    //delay(1000);
    g++;
    emgcounter--;

  Dynamixel.setProfileVelocity(0x05, 200);  
 }

int x, y, z, emg1, emg2, g, h;
int emgcounter = 0;
int i = 2148;
int j = 2048;
int k = 2048;
int green = 0;
int infoPk[24];
void actualName(){
  if(Serial1.available() >= 24){
