     } else  {
       pps_loop = 0;
     }
+    */
   } else  {
     // silently pass if we're in configuration mode or have no nmea data
     true; 

#include <LiquidCrystal.h>
#include <TinyGPS++.h>
#include <avr/wdt.h> // watchdog timer
#include "freeram.h"

#endif


      // save the current count so we can skip the loop next time
      lastLoopSatsInView = satellitesInView;

//if (pps_loop > 0) {
if (pps_loop != lastPulseValue) {
    //convert GPS time to Epoch time
    currentEpoch =  epochConverter(gps.date, gps.time);
    // and display it on the LCD
    printTime(currentEpoch);


  // moving from interrupt to loop
    if (pps_loop < 8) {
      // update the LCD with "Sats in View: 06" or similar
      printSats(satellitesInView); 
    } else if ( (pps_loop == 8) || (pps_loop == 9) ) {
      // updated LCD with year/month/day
      printDate(currentEpoch);
    } else if ( (pps_loop == 10) || (pps_loop == 11) ) {
      if (DEBUG) {
       // displayUptime();
               lcd.setCursor(0, 1);
        lcd.print(F("................"));
       valueLightLevel = analogRead(photoTransistor);
        updateLcdInt(1, valueLightLevel);
      }
    } else if ( pps_loop == 13) { // 13 is impossible, delete me.
      clearScreen();
      if (DEBUG) {
        lcd.setCursor(0, 1);
        lcd.print(F("................"));
        //updateLcdInt(1, freeRam());
      }
    }
        lastPulseValue = pps_loop;

}
    
      // this section updates the LCD if there isn't PPS.
      // otherwise, LCD updates happen from PPS so there aren't locking problems.
      if ( (satellitesInView == 2) || (satellitesInView == 3) ) {
