 #endif
 }
 
+void loop() {
+}
+
 void motor1_interrupt() {
   motor1.deg += motor1.dir;
 }

void motor_turn_deg(Motor* motor, int deg, Turning_Direction dir)
{
  int goal = motor->deg + (deg * dir);

  motor_turn(motor, dir);

  switch (motor->dir) {
    case CLOCKWISE:
      while (goal <= motor->deg) {
        delay(1);
      }
      break;
    case COUNTERCLOCKWISE:
      while (goal >= motor->deg) {
        delay(1);
      }
      break;
    default:
      Serial.println("NO ROTATION");
      break;
  }
  motor_stop(motor);
}

void motor_stop(Motor* motor)

  motor2.pin = MOTOR_2_PIN;
  //motor3.pin = MOTOR_3_PIN;

  Serial.begin(9200);

  pinMode(MOTOR_1_INT_PIN, INPUT_PULLUP);
  //pinMode(MOTOR_2_INT_PIN, INPUT_PULLUP);
