Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: QEI TextLCD mbed
Fork of grafica_PID_android by
debug.h@4:d57cde44861e, 2017-06-03 (annotated)
- Committer:
- NicolasV
- Date:
- Sat Jun 03 01:10:48 2017 +0000
- Revision:
- 4:d57cde44861e
Alarma de pico y placa;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| NicolasV | 4:d57cde44861e | 1 | #ifndef __DEBUG_H__ |
| NicolasV | 4:d57cde44861e | 2 | #define __DEBUG_H__ |
| NicolasV | 4:d57cde44861e | 3 | |
| NicolasV | 4:d57cde44861e | 4 | |
| NicolasV | 4:d57cde44861e | 5 | #ifdef DEBUG |
| NicolasV | 4:d57cde44861e | 6 | #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
| NicolasV | 4:d57cde44861e | 7 | #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
| NicolasV | 4:d57cde44861e | 8 | #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
| NicolasV | 4:d57cde44861e | 9 | #else |
| NicolasV | 4:d57cde44861e | 10 | #define INFO(x, ...) |
| NicolasV | 4:d57cde44861e | 11 | #define WARN(x, ...) |
| NicolasV | 4:d57cde44861e | 12 | #define ERR(x, ...) |
| NicolasV | 4:d57cde44861e | 13 | #endif |
| NicolasV | 4:d57cde44861e | 14 | |
| NicolasV | 4:d57cde44861e | 15 | |
| NicolasV | 4:d57cde44861e | 16 | #endif |
