Programa que permite configurar 7 alarmas distintas y luego escogerla según las necesidades usando un control remoto o emulador de samsung apretando uno de los botones entre 1 y 7 respectivamente.
Dependencies: Debounced Pulse1 QEI RTC-DS1307 TextLCD mbed
debug.h@0:dd4f7313a8a4, 2018-06-04 (annotated)
- Committer:
- sochoam
- Date:
- Mon Jun 04 17:14:52 2018 +0000
- Revision:
- 0:dd4f7313a8a4
Programa que permite configurar 7 alarmas distintas y luego escogerla seg?n las necesidades usando un control remoto o emulador de samsung apretando uno de los botones entre 1 y 7 respectivamente.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sochoam | 0:dd4f7313a8a4 | 1 | #ifndef __DEBUG_H__ |
sochoam | 0:dd4f7313a8a4 | 2 | #define __DEBUG_H__ |
sochoam | 0:dd4f7313a8a4 | 3 | |
sochoam | 0:dd4f7313a8a4 | 4 | |
sochoam | 0:dd4f7313a8a4 | 5 | #ifdef DEBUG |
sochoam | 0:dd4f7313a8a4 | 6 | #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
sochoam | 0:dd4f7313a8a4 | 7 | #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
sochoam | 0:dd4f7313a8a4 | 8 | #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
sochoam | 0:dd4f7313a8a4 | 9 | #else |
sochoam | 0:dd4f7313a8a4 | 10 | #define INFO(x, ...) |
sochoam | 0:dd4f7313a8a4 | 11 | #define WARN(x, ...) |
sochoam | 0:dd4f7313a8a4 | 12 | #define ERR(x, ...) |
sochoam | 0:dd4f7313a8a4 | 13 | #endif |
sochoam | 0:dd4f7313a8a4 | 14 | |
sochoam | 0:dd4f7313a8a4 | 15 | |
sochoam | 0:dd4f7313a8a4 | 16 | #endif |