Configuracion de Alarma y Hora, mediante LCD y Teclado, Navego por el menu con las teclas A, B, D, *, #.

Dependencies:   Debounced FPointer RTC-DS1307 TextLCD keypad mbed

Committer:
Jesse
Date:
Thu May 08 22:38:48 2014 +0000
Revision:
0:8471537b0784
Tarea 5_Alarma DS1307

Who changed what in which revision?

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