Conjunto de 4 alarmas on/off con reloj de tiempo real

Dependencies:   Debounced QEI RTC-DS1307 TextLCD mbed

Committer:
andJdmat
Date:
Wed Nov 30 01:59:24 2016 +0000
Revision:
0:c498d1d3e2de
Conjunto de 4 alarmas on/off;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andJdmat 0:c498d1d3e2de 1 #ifndef __DEBUG_H__
andJdmat 0:c498d1d3e2de 2 #define __DEBUG_H__
andJdmat 0:c498d1d3e2de 3
andJdmat 0:c498d1d3e2de 4
andJdmat 0:c498d1d3e2de 5 #ifdef DEBUG
andJdmat 0:c498d1d3e2de 6 #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
andJdmat 0:c498d1d3e2de 7 #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
andJdmat 0:c498d1d3e2de 8 #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
andJdmat 0:c498d1d3e2de 9 #else
andJdmat 0:c498d1d3e2de 10 #define INFO(x, ...)
andJdmat 0:c498d1d3e2de 11 #define WARN(x, ...)
andJdmat 0:c498d1d3e2de 12 #define ERR(x, ...)
andJdmat 0:c498d1d3e2de 13 #endif
andJdmat 0:c498d1d3e2de 14
andJdmat 0:c498d1d3e2de 15
andJdmat 0:c498d1d3e2de 16 #endif