/trunk/projects/clock/clock.c |
---|
36,6 → 36,7 |
#include <util/delay.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <string.h> |
/****************************************************************************** |
84,7 → 85,7 |
// Set date. |
//ds1307__set_date(&date); |
while (1) |
for (;;) |
{ |
// Get RTC time. |
ds1307__get_time(&time, &hour_mode); |