25 void print(String st);
42 HardwareSerial* serial;
43 String getLevel(
Levels level);
SerialDebug Debug
Definition Debug.cpp:78
Levels
Definition Debug.h:7
Debug class that allows a finer control over serial debug.
Definition Debug.h:19
void println(String st, Levels level)
Sends a line to the serial port with a debug level, only if it is lower than the setted one.
Definition Debug.cpp:25
void print(T any, Levels level)
Definition Debug.h:30
void print(String st, Levels level)
Sends a string to the Serial port with a debug level, only if it is lower than the setted one.
Definition Debug.cpp:9
void print(T any)
Definition Debug.h:34
void delayd(int t)
Delay used only in debug.
Definition Debug.cpp:51
void println(T any, Levels level)
Definition Debug.h:32
void setSerial(HardwareSerial *serial)
void setLevel(Levels lvl)
Sets the level to be used for the debug.
Definition Debug.cpp:59
SerialDebug(HardwareSerial *serial=&Serial)
Definition Debug.h:21
void println(T any)
Definition Debug.h:36