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@0:6bb3a59b5028, 2016-04-22 (annotated)
- Committer:
- SandraK
- Date:
- Fri Apr 22 06:06:15 2016 +0000
- Revision:
- 0:6bb3a59b5028
initial commit of uart based bm019 firmware
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SandraK | 0:6bb3a59b5028 | 1 | |
SandraK | 0:6bb3a59b5028 | 2 | #ifndef LOG_H |
SandraK | 0:6bb3a59b5028 | 3 | #define LOG_H |
SandraK | 0:6bb3a59b5028 | 4 | |
SandraK | 0:6bb3a59b5028 | 5 | #define NEED_CONSOLE_OUTPUT 0 |
SandraK | 0:6bb3a59b5028 | 6 | /* DO NOT Set to 1 !! |
SandraK | 0:6bb3a59b5028 | 7 | * the nrf51 has only one uart and we need it for uart com |
SandraK | 0:6bb3a59b5028 | 8 | */ |
SandraK | 0:6bb3a59b5028 | 9 | |
SandraK | 0:6bb3a59b5028 | 10 | #include "mbed.h" |
SandraK | 0:6bb3a59b5028 | 11 | |
SandraK | 0:6bb3a59b5028 | 12 | #if NEED_CONSOLE_OUTPUT |
SandraK | 0:6bb3a59b5028 | 13 | #define DEBUG(...) { printf(__VA_ARGS__); } |
SandraK | 0:6bb3a59b5028 | 14 | #else |
SandraK | 0:6bb3a59b5028 | 15 | #define DEBUG(...) /* nothing */ |
SandraK | 0:6bb3a59b5028 | 16 | #endif /* #if NEED_CONSOLE_OUTPUT */ |
SandraK | 0:6bb3a59b5028 | 17 | |
SandraK | 0:6bb3a59b5028 | 18 | #endif /* #if ndef LOG_H */ |