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

log.h

Committer:
SandraK
Date:
2016-04-21
Revision:
1:e4e03060b32f
Parent:
0:d156731c291b

File content as of revision 1:e4e03060b32f:

#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 */