![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
reloj de tiempo real con alarma aplazable
Dependencies: Debounced RTC-DS1307 TextLCD mbed
Fork of Rtc_Ds1307_Sample by
debug.h@4:242b6afb651e, 2014-05-08 (annotated)
- Committer:
- walterg
- Date:
- Thu May 08 05:08:26 2014 +0000
- Revision:
- 4:242b6afb651e
- Parent:
- 2:3be003301107
reloj con alarma y retraso
Who changed what in which revision?
User | Revision | Line number | New 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 |