![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Reloj con programacion de alarmas con control remoto
Dependencies: Debounced Pulse1 QEI RTC-DS1307 TextLCD mbed
debug.h@0:60db34a2735c, 2018-06-02 (annotated)
- Committer:
- EstebanLage
- Date:
- Sat Jun 02 15:54:16 2018 +0000
- Revision:
- 0:60db34a2735c
Tarea3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
EstebanLage | 0:60db34a2735c | 1 | #ifndef __DEBUG_H__ |
EstebanLage | 0:60db34a2735c | 2 | #define __DEBUG_H__ |
EstebanLage | 0:60db34a2735c | 3 | |
EstebanLage | 0:60db34a2735c | 4 | |
EstebanLage | 0:60db34a2735c | 5 | #ifdef DEBUG |
EstebanLage | 0:60db34a2735c | 6 | #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
EstebanLage | 0:60db34a2735c | 7 | #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
EstebanLage | 0:60db34a2735c | 8 | #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
EstebanLage | 0:60db34a2735c | 9 | #else |
EstebanLage | 0:60db34a2735c | 10 | #define INFO(x, ...) |
EstebanLage | 0:60db34a2735c | 11 | #define WARN(x, ...) |
EstebanLage | 0:60db34a2735c | 12 | #define ERR(x, ...) |
EstebanLage | 0:60db34a2735c | 13 | #endif |
EstebanLage | 0:60db34a2735c | 14 | |
EstebanLage | 0:60db34a2735c | 15 | |
EstebanLage | 0:60db34a2735c | 16 | #endif |