 	//Serial.println(digitalRead(JoyV_SW));
 
 	// Big
-	if (analogRead(JoyH_Y)<400)	{
+	if (analogRead(JoyH_Y)<400)	{ // Up
 		move_stepper(StepPinH_Y, 100);
 		digitalWrite(DirectionPinH_Y, LOW);
 	}
 
-	if (analogRead(JoyH_Y)>600)	{
+	if (analogRead(JoyH_Y)>600)	{ // Down
 		move_stepper(StepPinH_Y, 100);
 		digitalWrite(DirectionPinH_Y, HIGH);
 	}

	// Servo
	if (digitalRead(JoyV_SW) == HIGH) {
		if (dvd_down.read() != init_start_pos) {

			unsigned long currentMillis = millis();
			if (currentMillis - previousMillis >= interval) { // Execute on every interval

				previousMillis = currentMillis; // Save the last time the motor moved
				dvd_down.write(end_pos);
				//move_stepper(StepPinH_Y, 100);
				//digitalWrite(DirectionPinH_Y, LOW);
				end_pos--;
				
			}
		}
		else {
			end_pos = init_end_pos; // Reset end_pos
		}
	}




	if (digitalRead(JoyV_SW) == LOW) {
		if (dvd_down.read() != init_end_pos) {

				dvd_down.write(start_pos);
				start_pos++;
			}
			move_stepper(StepPinH_Y, 1300);
			digitalWrite(DirectionPinH_Y, LOW);
		}
		else {
			start_pos = init_start_pos; // Reset start_pos
		}

		
	}
}
