 
 // Define laser pin
 #define LASER_PIN 12 // Change to 13 !!!
+// Define how long the laser stays on when the target has been reached
+#define LASER_T_ON 10000000  // 10 seconds
 
 //#define DEBUG_ISR 1  // Variable for Interruption debug
 // Pin for DEBUG_ISR

SkyPointer_MicroStepper *motor2 = MS.getMicroStepper(STEPS, 2);

/****************************************************************************/
// Interruption routine
void ISR_rotate() {
  #ifdef DEBUG_ISR

    // If both motors are in the target position...
    Timer1.detachInterrupt();	// Stop Timer1 interruption
    // TURN OFF THE LASER
    //digitalWrite(LASER_PIN, LOW);
    uint32_t temp = 0; // Initialize time counter
    Timer1.attachInterrupt(ISR_timer); // Attach temporization routine


    // Must check a global variable that contains the status of the laser, ON or OFF, so the program cannot turn it off if it has been turned on by choice.
    //
    // This variable is not yet defined.
