   }
 }
 
-// Compute the cardinal points of the compass
+// Compute the cardinal points of the compass (16 or 8 cardinal points)
 const char* cardinal(double course, bool cardinalSelect)
 {
   if (!cardinalSelect) {

{
  return (zeller(year, month, day) % 7) + 1;
}
//----------------------------------------------------------

// Print the day of the week on the LCD
void displayDayOnLCD(uint8_t day)
{
  if (day == 7) day = 0;


/* Helper functions start here

  The following three functions ripped off from Electrical Engineering Stack Exchange
  http://electronics.stackexchange.com/questions/66285/how-to-calculate-day-of-the-week-for-rtc

   Returns the number of days to the start of the specified year, taking leap
   years into account, but not the shift from the Julian calendar to the
   Gregorian calendar. Instead, it is as though the Gregorian calendar is
