reloj con ds1307 y LCD de 20x4

Dependencies:   RTC-DS1307 TextLCD mbed

Fork of Rtc_Ds1307_Sample by Henry Leinen

Committer:
leihen
Date:
Wed Jun 26 21:07:13 2013 +0000
Revision:
2:3be003301107
Updated library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
leihen 2:3be003301107 1 #ifndef __DEBUG_H__
leihen 2:3be003301107 2 #define __DEBUG_H__
leihen 2:3be003301107 3
leihen 2:3be003301107 4
leihen 2:3be003301107 5 #ifdef DEBUG
leihen 2:3be003301107 6 #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
leihen 2:3be003301107 7 #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
leihen 2:3be003301107 8 #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
leihen 2:3be003301107 9 #else
leihen 2:3be003301107 10 #define INFO(x, ...)
leihen 2:3be003301107 11 #define WARN(x, ...)
leihen 2:3be003301107 12 #define ERR(x, ...)
leihen 2:3be003301107 13 #endif
leihen 2:3be003301107 14
leihen 2:3be003301107 15
leihen 2:3be003301107 16 #endif