 			if(TMP_DATA[0] == channel )
 			{
 				Serial.println("RESET");
-				production = false;
-				emgStop    = false;
+				PRODUCTION  = false;
+				EMG_STOP    = false;
 				TMP_DATA[0] = 0;
 			}	
 

#define VOLTAGE          6

// I2C
int I2C_ADRESS         = 1;

// MOTOR VARIABLE
int SPEED_A            = 0;
int SPEED_B            = 0;
bool RUN_A             = false;
bool RUN_B             = false;
bool DIRECTION_A       = true;   // true = Front | false = back
bool DIRECTION_B       = true;   // true = Front | false = back

int x                  = 0;
int y                  = 0;
int bx                 = 0;
int by                 = 0;
int vx                 = 0;
int vy                 = 0;

int speedX             = 0;
int speedY             = 0;
int speedZ             = 0;
int setpointX          = 90;
int setpointY          = 90;

int Zangle             = 0;
bool newData           = false;

int multiplier         = 15;
int emergencyStop      = 11; // PIN
int eStop              = 12; // PIN
bool emgStop           = false;

int TMP_DATA[30]      ;

bool runX              = false;
bool runY              = false;
bool runZ              = false;
bool directX           = false; // false = Gauche / true = droite
bool directY           = false; // false = Gauche / true = droite
bool directZ           = false; // false = Gauche / true = droite

bool xok               = false;
bool yok               = false;
bool zok               = false;

long intX              = 0;
long intY              = 0;

bool production        = false;
bool LED_PING          = false;
bool BOOT              = false;

bool enMotAB           = false;
bool enMotXY           = false;
bool enMotZ            = false;



unsigned long previousMillisX = 0;
unsigned long previousMillisY = 0;

		// d8888888888
		//======================================================================

		digitalWrite(PIN_DIRECTION_Z, DIRECT_Z);
		if(SPEED_Z != 0)
		{
			unsigned long currentZ = millis();

			if (currentZ - previousMillisZ >= SPEED_Z)
			{
				previousMillisZ = currentZ;

				digitalWrite(PIN_STEP_Y, 1);
				delayMicroseconds( 500 );
				digitalWrite(PIN_STEP_Y, 0);
				delayMicroseconds( 500 );
				if(DIRECT_Z) Z_ANGLE++;
				else Z_ANGLE--;
			}
		}

		if(Z_ANGLE == 201) Z_ANGLE = 0;
		if(Z_ANGLE == -1)  Z_ANGLE = 0;

	}

