 March 20, 2017:
 -Fixing a bug caused by changing the RTC Lib.
 -Changing Time calculation from minutes to military.
-
-TODO:: 
-Implement Auto/Manual Control modes for development, debugging and presenting.
+-Implementing Manual Mode in DEBUG mode.
 */
 
 #include <DS1302.h>

const int kCePin   = 12;  // Chip Enable

#define TIMEZONE  3         //Time zone in hours
#define LATITUDE  44.361343 //These are for Najaf, Iq. Yours can be obtained easily from any maps provider like Bing or Google.
#define LONGITUDE 32.011302


#ifdef DEBUG 
char buffer[80]; //We need it only to print the output for debugging.
#endif
bool isItDayTime = false, isItAutoMode = true; //The name says everything :3

DS1302 rtc(kCePin, kIoPin, kSclkPin); //RTC Instance.

