Arduino Helpers master
Utility library for Arduino
Macros
Debug

Detailed Description

Macros for printing debug information that can be easily enabled or disabled.

See also
md_pages_Debug for instructions on how to add an option in the Arduino IDE to easily enable and disable debugging.

Macros

#define NAMEDVALUE(x)   F(DEBUG_STR(x) " = ") << x
 Macro for printing an expression as a string, followed by its value. More...
 

Macro Definition Documentation

◆ NAMEDVALUE

#define NAMEDVALUE (   x)    F(DEBUG_STR(x) " = ") << x

Macro for printing an expression as a string, followed by its value.

The expression string is saved in PROGMEM using the F(...) macro.

Examples
Debug.ino.

Definition at line 89 of file Debug.hpp.