![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Reloj con alarma y snooze
Dependencies: RTC-DS1307-Modificada TextLCD mbed QEI
debug.h@2:32f3a407a8ea, 2016-05-19 (annotated)
- Committer:
- Susanaranjo
- Date:
- Thu May 19 19:18:49 2016 +0000
- Revision:
- 2:32f3a407a8ea
- Parent:
- 0:1c2ae7e04432
Alarma con Snooze y encoder
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Susanaranjo | 0:1c2ae7e04432 | 1 | #ifndef __DEBUG_H__ |
Susanaranjo | 0:1c2ae7e04432 | 2 | #define __DEBUG_H__ |
Susanaranjo | 0:1c2ae7e04432 | 3 | |
Susanaranjo | 0:1c2ae7e04432 | 4 | |
Susanaranjo | 0:1c2ae7e04432 | 5 | #ifdef DEBUG |
Susanaranjo | 0:1c2ae7e04432 | 6 | #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
Susanaranjo | 0:1c2ae7e04432 | 7 | #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
Susanaranjo | 0:1c2ae7e04432 | 8 | #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
Susanaranjo | 0:1c2ae7e04432 | 9 | #else |
Susanaranjo | 0:1c2ae7e04432 | 10 | #define INFO(x, ...) |
Susanaranjo | 0:1c2ae7e04432 | 11 | #define WARN(x, ...) |
Susanaranjo | 0:1c2ae7e04432 | 12 | #define ERR(x, ...) |
Susanaranjo | 0:1c2ae7e04432 | 13 | #endif |
Susanaranjo | 0:1c2ae7e04432 | 14 | |
Susanaranjo | 0:1c2ae7e04432 | 15 | |
Susanaranjo | 0:1c2ae7e04432 | 16 | #endif |