   currentR = 0;
   MoveXYR();
   currentR = 0;
+  isInitialized = 2;
   
 }
 

#define X1_STEP_PIN          54 //X1->X
#define X1_DIR_PIN           55
#define X1_ENABLE_PIN        38

#define X2_STEP_PIN          46 //X2->Z
#define X2_DIR_PIN           48
#define X2_ENABLE_PIN        62


int previousTime = millis(); //Used for button de-bounce
int currentTime; 

int isInitialized = 0; //Has the system finished initialization?

// Setup  /////////////////////////////////////////////////////////////////////////////////

