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

void printPath()
{
	Serial.println("+++++++++++++++++");
	for (byte i = 0; i < pathLength; i++)
	{
		Serial.println(path[i]);
	}
	Serial.println("+++++++++++++++++");
}

{
	turnOffAllLeds();
	moveBothMotors(0, forward, 0, forward);
	for (unsigned char i = 0; i < pathLength; i++)
	{
		delay(500);
		ledDirection(fullPath[i].direction);
		delay(1000);
		turnOffAllLeds();
	}
