| Stepper-Motor-Control
    v3.0.0
    System on a Chip 2014 - Group 04 | 
Defines for Error and Debug-Output Management. More...
#include "auxilaryFunctions.h"

Go to the source code of this file.
| Macros | |
| #define | SOC2014_DEBUG | 
| Generates extra debug output on terminal. | |
| #define | debug(...) printf_term(__VA_ARGS__) | 
| Prints Debug-messages in the terminal.  More... | |
| #define | error(...) printf_term(__VA_ARGS__) | 
| Prints the Error-messages in the terminal.  More... | |
Defines for Error and Debug-Output Management.
Include this header for simplified logging-features.
v0.1.0 30.10.2014 Riedel
v1.0.0 02.11.2014 Riedel
Definition in file debugAndErrorOutput.h.
| #define debug | ( | ... | ) | printf_term(__VA_ARGS__) | 
Prints Debug-messages in the terminal.
This define only works if switch SOC2014_DEBUG is set. Otherwise all debug(...)-statements are deleted from the codebase, while compilation.
| ... | Sends the given string directly to the terminal (printf_term()). | 
Definition at line 36 of file debugAndErrorOutput.h.
| #define error | ( | ... | ) | printf_term(__VA_ARGS__) | 
Prints the Error-messages in the terminal.
| ... | Sends the given string directly to the terminal (printf_term()). | 
Definition at line 46 of file debugAndErrorOutput.h.