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

Revision:
0:6bb3a59b5028
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/log.h	Fri Apr 22 06:06:15 2016 +0000
@@ -0,0 +1,18 @@
+
+#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 */