25 lines
424 B
C
25 lines
424 B
C
|
#ifndef __TIME_C
|
||
|
#define __TIME_C
|
||
|
|
||
|
extern const char* clock_months[13];
|
||
|
extern const char* clock_weekdays[8];
|
||
|
extern byte clock_months_len[13];
|
||
|
|
||
|
typedef struct {
|
||
|
byte seconds;
|
||
|
byte minutes;
|
||
|
byte hours;
|
||
|
byte weekday;
|
||
|
byte day;
|
||
|
byte month;
|
||
|
byte year;
|
||
|
byte century;
|
||
|
byte am_pm;
|
||
|
|
||
|
} TIME;
|
||
|
|
||
|
extern void _CLOCK_INC(TIME *tim);
|
||
|
|
||
|
//extern char* asctime (TIME time);
|
||
|
|
||
|
#endif
|