![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A blue button is always a nice toy ...
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
bricks/trace.h@29:a6b74dfdd5f2, 2017-10-01 (annotated)
- Committer:
- hux
- Date:
- Sun Oct 01 12:49:25 2017 +0000
- Revision:
- 29:a6b74dfdd5f2
- Parent:
- 28:307f58df778a
A blue button is always a nice toy ...
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hux | 28:307f58df778a | 1 | // trace.h - tracing |
hux | 28:307f58df778a | 2 | #ifndef _TRACE_H_ |
hux | 28:307f58df778a | 3 | #define _TRACE_H_ |
hux | 28:307f58df778a | 4 | |
hux | 28:307f58df778a | 5 | #include <mbed.h> |
hux | 28:307f58df778a | 6 | #include "bricks/o.h" |
hux | 28:307f58df778a | 7 | |
hux | 28:307f58df778a | 8 | void trace(O&o, int level, const char *msg); // trace a message |
hux | 28:307f58df778a | 9 | void trace(O&o, int level, const char*, int); // trace an int value |
hux | 28:307f58df778a | 10 | |
hux | 28:307f58df778a | 11 | void traceln(O&o, int level, const char*msg); // trace with CR & LF |
hux | 28:307f58df778a | 12 | |
hux | 28:307f58df778a | 13 | void verbose(O&o, int level = 9999); // setup verbose level |
hux | 28:307f58df778a | 14 | |
hux | 28:307f58df778a | 15 | #endif // _TRACE_H_ |