Reloj con alarma programado por enconder. Luna es gay

Dependencies:   mbed QEI Debounced ds3231 TextLCD RTC-DS1307 Pulse1

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?

UserRevisionLine numberNew 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