ongoing Development Project for interfacing a BM019 Module with nrf51-dk, acting as a nfc 2 ble bridge. Base project for opensource blueReader Device
Dependencies: BLE_API mbed nRF51822
Diff: log.h
- Revision:
- 0:d156731c291b
diff -r 000000000000 -r d156731c291b log.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/log.h Sat Apr 16 14:00:28 2016 +0000 @@ -0,0 +1,16 @@ +#ifndef LOG_H +#define LOG_H + +#define NEED_CONSOLE_OUTPUT 1 +/* Set this if you need debug messages on the console; +* it will have an impact on code-size and power consumption. */ + +#include "mbed.h" + +#if NEED_CONSOLE_OUTPUT +#define DEBUG(...) { printf(__VA_ARGS__); } +#else +#define DEBUG(...) /* nothing */ +#endif /* #if NEED_CONSOLE_OUTPUT */ + +#endif /* #if ndef LOG_H */