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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers log.h Source File

log.h

00001 #ifndef LOG_H
00002 #define LOG_H
00003 
00004 #define NEED_CONSOLE_OUTPUT 1 
00005 /* Set this if you need debug messages on the console;
00006 * it will have an impact on code-size and power consumption. */
00007 
00008 #include "mbed.h"
00009 
00010 #if NEED_CONSOLE_OUTPUT
00011 #define DEBUG(...) { printf(__VA_ARGS__); }
00012 #else
00013 #define DEBUG(...) /* nothing */
00014 #endif /* #if NEED_CONSOLE_OUTPUT */
00015 
00016 #endif /* #if ndef LOG_H */