![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TOF based Presence Detector
Dependencies: BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
Diff: bricks/trace.h
- Revision:
- 28:a23b16555909
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bricks/trace.h Mon Aug 20 16:42:59 2018 +0000 @@ -0,0 +1,15 @@ +// trace.h - tracing +#ifndef _TRACE_H_ +#define _TRACE_H_ + +#include <mbed.h> +#include "bricks/o.h" + + void trace(O&o, int level, const char *msg); // trace a message + void trace(O&o, int level, const char*, int); // trace an int value + + void traceln(O&o, int level, const char*msg); // trace with CR & LF + + void verbose(O&o, int level = 9999); // setup verbose level + +#endif // _TRACE_H_ \ No newline at end of file