![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Tarea Reloj DS3231-Control Remoto samsung Procesadores 2019-1 Equipo verde Guillermo Eduardo Luna Rozo Susana Buriticá Alvaro Javier Vargas David Cordoba Santiago Yepes Funciona correctamente, con 8 alarmas, se puede modificar la hora ccon encoder, y se configuran las alarmas con encoder y control.
Dependencies: mbed QEI Debounced ds3231 TextLCD RTC-DS1307 Pulse1
debug.h@0:fd394f5c0449, 2019-08-13 (annotated)
- Committer:
- diavad
- Date:
- Tue Aug 13 19:25:23 2019 +0000
- Revision:
- 0:fd394f5c0449
Modulo Reloj DS3231, con alarmas, configurado por encoder y entradas de sensor IRDA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
diavad | 0:fd394f5c0449 | 1 | #ifndef __DEBUG_H__ |
diavad | 0:fd394f5c0449 | 2 | #define __DEBUG_H__ |
diavad | 0:fd394f5c0449 | 3 | |
diavad | 0:fd394f5c0449 | 4 | |
diavad | 0:fd394f5c0449 | 5 | #ifdef DEBUG |
diavad | 0:fd394f5c0449 | 6 | #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
diavad | 0:fd394f5c0449 | 7 | #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
diavad | 0:fd394f5c0449 | 8 | #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
diavad | 0:fd394f5c0449 | 9 | #else |
diavad | 0:fd394f5c0449 | 10 | #define INFO(x, ...) |
diavad | 0:fd394f5c0449 | 11 | #define WARN(x, ...) |
diavad | 0:fd394f5c0449 | 12 | #define ERR(x, ...) |
diavad | 0:fd394f5c0449 | 13 | #endif |
diavad | 0:fd394f5c0449 | 14 | |
diavad | 0:fd394f5c0449 | 15 | |
diavad | 0:fd394f5c0449 | 16 | #endif |