Arduino Helpers develop
Utility library for Arduino
Macros
Debug

Detailed Description

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

See also
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 92 of file Debug.hpp.