ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
memdebug.h File Reference
#include <Arduino.h>
Include dependency graph for memdebug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOG_PORT   Serial
 
#define MYFILE   String (__FILE__).substring(String (__FILE__).lastIndexOf ("\\") + 1)
 
#define DEBUG_V(v)
 
#define DEBUG_START   DEBUG_V(F ("Start"))
 
#define DEBUG_END   DEBUG_V(F ("End"))
 

Macro Definition Documentation

◆ DEBUG_END

#define DEBUG_END   DEBUG_V(F ("End"))

◆ DEBUG_START

#define DEBUG_START   DEBUG_V(F ("Start"))

◆ DEBUG_V

#define DEBUG_V ( v)
Value:
{LOG_PORT.println(String("------ ") + String(FPSTR(__func__) ) + ":" + MYFILE + ":" + String(__LINE__ ) + ": " + String(v) + String(" ------")); LOG_PORT.flush();}
#define LOG_PORT
Definition memdebug.h:13
#define MYFILE
Definition memdebug.h:16

◆ LOG_PORT

#define LOG_PORT   Serial

◆ MYFILE

#define MYFILE   String (__FILE__).substring(String (__FILE__).lastIndexOf ("\\") + 1)