 int TooDarkValue = 0; 
 int AreHeadLightsOn = FALSE; 
 
-void GetLightSensors()
+int LoopCounter = 0;   // used in log printing
+
+void GetRearLightSensors()
 {
    LightSensorValue = analogRead(LightSense_Rear); // read Rear light sensor
-} // GetLightSensors
+} // GetRearLightSensors
 
 void GetInitialLightValue() 
 {
-   Serial.println("Getting Light Average");
+   printString("Getting Light Average");
    digitalWrite(Source_Select, HIGH); //This selects the top light sensors
    for (int i = 0 ; i < NUM_LIGHT_READINGS; ++i) {
       InitialAverageLight += analogRead(LightSense_Rear);

      OffPixel(pixel);
      delay(PIXEL_DELAY);
  }
} // LightsOn

void HeadLightsOn(int averageLightValue) 
{

   HardwareBegin();        //initialize Ringo's brain to work with his circuitry
   SwitchButtonToPixels(); //set shared line to control NeoPixel lights
   PlayStartChirp();       //Play startup chirp and blink eyes
   RestartTimer();
   delay(1000);
   NavigationBegin();

   GetInitialLightValue();

   printString("Setup Done");
} //setup

void loop()
{ 
   LoopCounter++;
  // delay(LIGHT_SENSE_DELAY);

   LightsOnLoop();

   digitalWrite(Source_Select, HIGH); //This selects the top light sensors
   GetRearLightSensors();

   printValue("Rear Light Sensor = ", LightSensorValue);

   HeadLightsOn(LightSensorValue);
   FollowLight();
   
   printString("Loop Done");
} // loop
