// This function sets the time of the Real time Clocks
// Note to self: change it such that it's user controllable
void set_time(void)
{
// Stop the Clock
start_stop_RTC(1);
// Clear the Write protect bit before setting time
write_protect(0);
// Set time
// set_seconds(0);
// set_minutes(9);
// set_hour(9, 1, TWELVEHOUR);
// set_hour(22, 0, TWENTYFOUR);
/* set_date(2);
set_month(1);
set_day(4);*/
set_year(2008);
// Start the clock
start_stop_RTC(0);
// Set the Write protect bit before setting time
//write_protect(1);
}