alarma configurable y se prende y apaga con control remoto

Dependencies:   Debounced Pulse1 QEI RTC-DS1307 TextLCD mbed

Committer:
slorm
Date:
Fri Jun 01 20:55:03 2018 +0000
Revision:
0:31bb391d0545
alarma con control remoto

Who changed what in which revision?

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