Despertador por rtc I2C, encoder, LCD y buzzer

Dependencies:   QEI RTC-DS1307 TextLCD mbed

Committer:
SSJprocesa
Date:
Sun May 29 17:52:00 2016 +0000
Revision:
0:e078f69875aa
Rtc con encoder y alarma

Who changed what in which revision?

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