ongoing Development Project for interfacing a BM019 Module with nrf51-based ble, 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-22
Revision:
0:6bb3a59b5028

File content as of revision 0:6bb3a59b5028:


#ifndef LOG_H
#define LOG_H

#define NEED_CONSOLE_OUTPUT 0 
/* DO NOT Set to 1 !! 
 * the nrf51 has only one uart and we need it for uart com
 */

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