Arduino-Scheduler
Portable Collaborative Multi-Tasking Scheduler for Arduino
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Trace.h
Go to the documentation of this file.
1
22
#ifndef TRACE_H
23
#define TRACE_H
24
25
#define TRACE(msg) \
26
do { \
27
Serial.print(millis()); \
28
Serial.print(':'); \
29
Serial.print(__PRETTY_FUNCTION__); \
30
Serial.print(':'); \
31
Serial.print(F(msg)); \
32
} while (0)
33
34
#define TRACELN(msg) \
35
do { \
36
TRACE(msg); \
37
Serial.println(); \
38
} while (0)
39
40
#endif
examples
SchedulerDemoNamespaces
Trace.h
Generated on Thu Aug 31 2017 12:52:30 for Arduino-Scheduler by
1.8.11