 		Serial.println(path[i]);
 	}
 	Serial.println("+++++++++++++++++");
-}
+}
+
+void printPathLed()
+{
+	turnOffAllLeds();
+	moveBothMotors(0, forward, 0, forward);
+	for (unsigned int i = 0; i < pathLength; i++)
+	{
+		delay(500);
+		ledDirection(path[i]);
+		delay(1000);
+		turnOffAllLeds();
+	}
+}
 #pragma endregion
	}
}

void lightLed(unsigned char ledIndex)
{
	digitalWrite(ledPins[ledIndex], HIGH);
}

void turnOffAllLeds()
{
	for (unsigned char i = 0; i < sizeof(ledPins); i++)
	{
		digitalWrite(ledPins[i], LOW);
	}
}

void startNextRun()
{

unsigned char getNumberOfCurrentlyWhiteSensors()
{
	unsigned char currentlyWhiteSensors = 0;
	for (unsigned char i = 0; i < sizeof(sensorPins); i++)
	{
		if (sensorValues[i] < threshold)
		{
			currentlyWhiteSensors++;
		}
	}
	return currentlyWhiteSensors;
}
