   Dynamixel.setProfileVelocity(0x05, 200);  
  }
 
-int x, y, z, emg1, emg2, g;
+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){

            byte jelly = Serial1.read();
            infoPk[i] = jelly;
          }
      
  while(emg1 > 500 && emg1 < 1024 && g==0 && emgcounter==0){
    Dynamixel.performMovement(2148, 2048, 2048, OPEN);   //"Initial" position

    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();
 }
  }
